ASP.NET 2.0 Question:

Which two properties are on every validation control?

ASP.NET 2.0 Interview Question
ASP.NET 2.0 Interview Question

Answer:

ControlToValidate property and Text property

This is done explicitly by adding the below code Response.Cookies("Name") = "myCookie"
Response.Cookies("Name").Expires = DateAdd("m", 1, Now());

ErrorMessage and ControlToValidate


Previous QuestionNext Question
What is different in .Net 1.1 and .Net 2.0?How do you turn off cookies for one page in your site?