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 benefit does your code receive if you decorate it with attributes demanding specific Security permissions?
Can One website be made using two different languages like c#,vb.net etc......
Why asp.net is used?
Where sessions are stored in asp.net?
What is the exact purpose of http handlers?
How many languages are supported by .NET at present time?
What are the asp.net list controls and difference between them?
Why we use content place holder in asp.net?
How to find last error which occurred in Asp.net ?
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?
Hi, I am working in a small software company in asp.net platform. I need to know how and what are all the task in asp.net will be assigned for the developers in mnc companies. Thanks in advance.
What is an il?
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)