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 what are webservices?
How to rename a table using sql queries?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
Explain how to prepare culture-specific formatting in .net.
where can i gather the materials for MCP certification
How long should a session id be?
Explain exception filters?
What is the page life cycle in asp.net?
Explain asp.net application life cycle?
What is diff. Between abstract class and an interface?
To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?
What does the .webpart file do?
What is meant by web application?
What is global.asax file used for?
What's the ASP.Net Application life cycle?