Validating Page Dynamically

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
 
G

Guest

Where exactly is your problem?
Maybe you can put down some code that is not working?
R. Thomas
 
P

Peter Blum

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top