Validating Page Dynamically

  • Thread starter Thread starter matt.torline
  • Start date Start date
M

matt.torline

I would like to use validation controls when certain events are fired
and turn the validation off when other events are fired. I have sent
the page attribute for validateRequest="false", and used the
Page.Validate and Page.IsValid in the events that I want to use the
validation, but the validation always occurs. I am using version 1.14
Thanks
Troutbum
 
Where exactly is your problem?
Maybe you can put down some code that is not working?
R. Thomas
 
The validateRequest property is unrelated to the Page.Validate() method.
validateRequest=false turns off a feature that scans all inputs for HTML
tags that could be a Cross-site-scripting attack from a hacker.

Page.Validate() fires validation on the Validator controls of the page and
sets Page.IsValid.

--- Peter Blum
www.PeterBlum.com
Email: (e-mail address removed)
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
 
Back
Top