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
Explain diff. Between friend and protected friend?
What is full form of asp.net?
What are the different types of sessions in asp.net? Name them?
What are the asp.net 2.0 features?
Why the javascript validation not run on the asp.net button but run successfully on the html button?
How to change Master page in ASP.Net using code?
What do you mean by query string?
How do I use a proxy server when invoking a web service?
What is the difference between application state and caching?
What is state management technique?
What is the concepts of globalization and localization in .net?
Why mvc is faster than asp.net? : Asp.Net MVC
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
Which Is Faster MVC or ASP.net ?
Is LINQ performance wise better or using sqlcommand?