ASP.NET 2.0 Question: Download ASP.NET 2.0 PDF

Which two properties are on every validation control?

Tweet Share WhatsApp

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

Download ASP.NET 2.0 PDF Read All 87 ASP.NET 2.0 Questions
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?