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
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
What r the asp.net list controls and difference between them?
Write a code for sending an email from asp.net application.
What is the mvc framework?
How do you declare static variable? What is its lifetime?
Can you change a master page dynamically at runtime? How?
What is the difference between mechine.config and web.config?
What is a runtime version?
How does asp.net work?
How to find last error which occurred?
Which .NET framework supports Web API?
witch is the best insistute in sharpoint course.what abt future of share point course.
Web API supports which protocol?
What are the features of asp net?
What does asax stand for?