How to check whether page validation succeeded?

 Posted by vishalneeraj-24503 on 12/24/2013 | Category: ASP.NET Interview questions | Views: 785 | Points: 40
Answer:

With the help of IsValid page property,we can check whether Page has done all the validations.

It has a Boolean value which returns True if pge passes through all the validations or page has performed all the validations.

We can check page validations as

if (Page.IsValid)

{
}


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response