what does Page.IsValid in asp.net
Answer Posted / ranjit singh
true if page validation succeeded; otherwise, false
private void ValidateBtn_Click(Object Sender, EventArgs E)
{
Page.Validate();
if (Page.IsValid == true)
lblOutput.Text = "Page is Valid!";
else
lblOutput.Text = "Some required fields are empty.";
}
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What are the different types of Caching techniques in ASP.NET?
Why we are using mvc instead of asp.net? : Asp.Net MVC
What is class and object in asp.net?
How will create assesblies at run time?
How can we prepairing Interview
Where you store Connection string in "Web.Config" file in ASP.NET?
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
How ASP.NET page works?
What are the ways to sending the data in ASP.NET page?
Which library is used by the testers and developers to develop automated tests and create testing tools?
How do session tokens work?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What are the page life cycle events?
How do I use a proxy server when invoking a web service?
Explain Features in ASP.NET