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 is tracing? Where is it used?
can machine.config file orverrides web.config. For example: if u set session timeout as 30 mins in web.config file to a particular application and if u set session timeout as 10 mins in machin.config. what will happen and which session is set to the appliction?
What is asp net theme?
Can private assembly be used for more than one application? If so how?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?
What is the purpose of url encoding?
what is Disco?what it will do?
What layout mode is the default when a new Web Form is created? a) GridBagLayout b) GridLayout c) FlowLayout d) FormLayout
what are the security certificates used in webservices?
Difference between Dataset and DataReader ?
4 Answers Accenture, BirlaSoft, Infosys, Microsoft, Techseol,
Describe the difference between inline and code behind - which is best in a?
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)