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

What are the action filters available in asp.net mvc

1 Answers   TCS,


Explain the difference between dataset and datareader.

0 Answers  


Explain a program using code nuggets to create a simple application? : asp.net mvc

0 Answers  


Describe the difference between a Thread and a Process?

4 Answers  


Can we make activex dll also ti execute in some process as that of client ? How can we do?

0 Answers   DELL, Zerone,


What are the advantages of asp.net?

0 Answers  


What data types do the RangeValidator control support?

2 Answers  


How can you change a Master page dynamically in which event of page life cycle?

2 Answers   Fulcrum Logic,


How to save Link of a Webpage in excel sheet?

1 Answers   HCL, NIIT,


Does JITting occur per-assembly or per-method? How does this affect the working set?

1 Answers  


In a webpage if i want to give access to only half page ,then what should i do?

3 Answers  


Is it possible to create web application with both webforms and mvc?

0 Answers  


Categories