what does Page.IsValid in asp.net

Answers were Sorted based on User's Feedback



what does Page.IsValid in asp.net..

Answer / vicky

The Page.IsValid property tells you whether the validation
succeeded or not.

Is This Answer Correct ?    33 Yes 7 No

what does Page.IsValid in asp.net..

Answer / debasmit samal

Page..::.IsValid Property
Gets a value indicating whether page validation succeeded.

Is This Answer Correct ?    14 Yes 3 No

what does Page.IsValid in asp.net..

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

what does Page.IsValid in asp.net..

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

what does Page.IsValid in asp.net..

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

what does Page.IsValid in asp.net..

Answer / joseph.v.a

The Page.IsValid property tells you whether the validation
succeeded or not.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How to check the end of the record in Datareader?

2 Answers   Cognizant,


In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected

1 Answers  


What is repository pattern in mvc.net? : asp.net mvc

0 Answers  


Is it possible to prevent a browser from caching an ASPX page?

3 Answers  


Which is the namespace used to write error message in event Log File?

1 Answers  






WSDL means?

0 Answers   Siebel,


What are the advantages and disadvantages of session?

0 Answers  


i want to develope a page for online test using asp.net with c#.net. so, how to insert the questions in the database sqlserver2000 and how to pick the questions randomly when user login for test. plz send the code for this....

3 Answers   Chaitanya, Crysalis, CTS, HCL, Sein Infotech, TCS,


How do I upload a file from my ASP.NET page?

0 Answers  


How .Net has implemented security for web applications?

1 Answers  


How do sessions work?

0 Answers  


Explain the difference between globalization and localization techniques

0 Answers  


Categories