ValidateRequest

S

Stanley

I have a server control that accepts HTML. This server control is placed
into a user control which is in turn loaded into a webform. Is it possible
to dynamically change the ValidateRequest property of the page only when my
user control is loaded? I only need to turn this off on this one page and I
would not like to be forced to make a new webform just for this server
control.
 
V

Victor Garcia Aprea [MVP]

Hi Stanley,

If I'm getting right what you want, I'm afraid its not possible by the way
this feature is coded. A few months ago I've blogged about how this feature
internally works[1][2], maybe that info helps you in coding an alternative
solution.

[1] http://weblogs.asp.net/vga/posts/6329.aspx
[2] http://weblogs.asp.net/vga/posts/7170.aspx

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top