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

Should sn.exe be used before gacutil.exe ?

2 Answers   Accenture, BirlaSoft,


all asp.net interives questions

1 Answers  


How do you get records number from 5 to 15 from a dataset of 100 records?

3 Answers   Syntax Softtech,


What is machine.config and web.config ?

5 Answers   Digital GlobalSoft,


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

0 Answers  






What is asp.net mvc5? : Asp.Net MVC

0 Answers  


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

0 Answers  


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

0 Answers  


What is asp.net version?

0 Answers  


What does the orientation property do in a menu control?

0 Answers  


What is work flow gen? how can it will work with .Net?

0 Answers   TCS,


How to turn off cookies for a page?

0 Answers  


Categories