Thursday, 7 June 2012

Custom Validator with Page.Is valid Property

using this Property(Page.IsValid),resolve the when Custom Validator is return failed; page was redirect.So solve this code.

 if (!Page.IsValid)
            return;
 Redirect("http://google.com");

No comments:

Post a Comment