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 |
What are the action filters available in asp.net mvc
Explain the difference between dataset and datareader.
Explain a program using code nuggets to create a simple application? : asp.net mvc
Describe the difference between a Thread and a Process?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What are the advantages of asp.net?
What data types do the RangeValidator control support?
How can you change a Master page dynamically in which event of page life cycle?
How to save Link of a Webpage in excel sheet?
Does JITting occur per-assembly or per-method? How does this affect the working set?
In a webpage if i want to give access to only half page ,then what should i do?
Is it possible to create web application with both webforms and mvc?