what does Page.IsValid in asp.net
Answers were Sorted based on User's Feedback
Answer / vicky
The Page.IsValid property tells you whether the validation
succeeded or not.
Is This Answer Correct ? | 33 Yes | 7 No |
Answer / debasmit samal
Page..::.IsValid Property
Gets a value indicating whether page validation succeeded.
Is This Answer Correct ? | 14 Yes | 3 No |
Answer / 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 |
Answer / rajesh sharma
The Page.IsValid property tells you whether the validation
succeeded or not. It can be called only after the
Page.Validiate method is called. By using this property,
you can add logic to your page to determine whether to
proceed with the PostBack event or not
Is This Answer Correct ? | 11 Yes | 8 No |
Answer / ritesh jaiswal
Page.IsValid is use to validate the validation field if
client side ajax validation control is off due to hacker or
else any other reason
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / joseph.v.a
The Page.IsValid property tells you whether the validation
succeeded or not.
Is This Answer Correct ? | 2 Yes | 1 No |
Should sn.exe be used before gacutil.exe ?
2 Answers Accenture, BirlaSoft,
all asp.net interives questions
How do you get records number from 5 to 15 from a dataset of 100 records?
What is machine.config and web.config ?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
What is asp.net mvc5? : Asp.Net MVC
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What is asp.net version?
What does the orientation property do in a menu control?
What is work flow gen? how can it will work with .Net?
How to turn off cookies for a page?