Last post Mar 24, 2011 02:46 PM by wava
Participant
1847 Points
1340 Posts
Mar 24, 2011 02:14 PM|rohitpundlik|LINK
Member
20 Points
5 Posts
Mar 24, 2011 02:46 PM|wava|LINK
The validation controls should be able to perform both client side (if Javascript is enabled) and server side validation of the data.
If your controls are setup wirh CausesValidation true then you only have to check the Page.IsValid property.
If your controls do not have the CausesValidation set to true you will have to call the Page.Validate method before checking the Page.IsValid proerty.
Here is a link with an explanation: http://weblogs.asp.net/rajbk/archive/2007/03/15/page-isvalid-and-validate.aspx
Participant
1847 Points
1340 Posts
How to work with validation controls if javascript disabled
Mar 24, 2011 02:14 PM|rohitpundlik|LINK
Rohit Pundlik
Please mark as answer if this helps you...
Member
20 Points
5 Posts
Re: How to work with validation controls if javascript disabled
Mar 24, 2011 02:46 PM|wava|LINK
The validation controls should be able to perform both client side (if Javascript is enabled) and server side validation of the data.
If your controls are setup wirh CausesValidation true then you only have to check the Page.IsValid property.
If your controls do not have the CausesValidation set to true you will have to call the Page.Validate method before checking the Page.IsValid proerty.
Here is a link with an explanation:
http://weblogs.asp.net/rajbk/archive/2007/03/15/page-isvalid-and-validate.aspx