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 |
Can you use Web API with ASP.NET Web Form?
What r the asp.net list controls and diff. Between them?
Can you explain what inheritance is and an example of when you might use it?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
What language does asp.net use?
Explain the use of duration attribute of @outputcache page directive.
What is anonymous authentication?
What is the function of the ViewState property?
How to do state management in ASP.NET?
Can a .net web application consume java web service?
What is the full form of asp.net?
What is meant by server side scripting?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)