ASP.NET 2.0 Question:
Which two properties are on every validation control?
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
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 Question | Next Question |
What is different in .Net 1.1 and .Net 2.0? | How do you turn off cookies for one page in your site? |