ASP.NET 2.0 Question:
Download Job Interview Questions and Answers PDF
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
Download ASP.NET 2.0 Interview Questions And Answers
PDF
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? |