Click here to Skip to main content
16,004,924 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: I want to draw a diagonal in a Panel control in Asp.net Pin
Christian Graus5-Jun-09 10:16
protectorChristian Graus5-Jun-09 10:16 
Question[Message Deleted] Pin
Kissy165-Jun-09 2:11
Kissy165-Jun-09 2:11 
AnswerRe: onclick event giving error in asp.net 1.1,not in asp.net2.0 Pin
ToddHileHoffer5-Jun-09 2:29
ToddHileHoffer5-Jun-09 2:29 
AnswerRe: onclick event giving error in asp.net 1.1,not in asp.net2.0 Pin
Christian Graus5-Jun-09 10:18
protectorChristian Graus5-Jun-09 10:18 
QuestionRadtreeview control/checkbox Pin
AndyInUK5-Jun-09 1:29
AndyInUK5-Jun-09 1:29 
Question[Message Deleted] Pin
Jain Vijay5-Jun-09 1:07
Jain Vijay5-Jun-09 1:07 
AnswerRe: How to find cursor position in HTML Editor Pin
Ashfield5-Jun-09 1:35
Ashfield5-Jun-09 1:35 
QuestionTurning off validateRequest for a user control [modified] PinPopular
c24235-Jun-09 0:37
c24235-Jun-09 0:37 
Hi All,

I am writing a user control which needs to allow users to enter simple HTML tags into a text box (strong, emphasis etc). Obviously, ASP.Net stops this by default.

If I were to write a page to do this, I know that I could use ValidateRequest="false" in the Page Attribute (this is all I can find on Google, which is frustrating as I already knew about it!)

The problem is that I am trying to do this in a single user control and do not have access to either the Web Config for the entire site or the code of the pages that this control will be used on.

Does anybody know of a way to do this? Or can anybody point me towards an article that solves the same issue?

Thanks,
Chris

[Edit: I can't use AJAX, so no AJAX solutions please!]

modified on Friday, June 5, 2009 7:02 AM

AnswerRe: Turning off validateRequest for a user control Pin
Alex Random1-Nov-10 3:55
Alex Random1-Nov-10 3:55 
GeneralRe: Turning off validateRequest for a user control Pin
c24233-Nov-10 8:23
c24233-Nov-10 8:23 
QuestionStrange Behaviour of Crystal Report Pin
Girish4815-Jun-09 0:33
Girish4815-Jun-09 0:33 
QuestionTabControl - Active Tab Index Question Pin
Programm3r5-Jun-09 0:06
Programm3r5-Jun-09 0:06 
AnswerRe: TabControl - Active Tab Index Question Pin
Programm3r5-Jun-09 0:26
Programm3r5-Jun-09 0:26 
Questionrender ListBox Pin
Koss_G4-Jun-09 22:54
Koss_G4-Jun-09 22:54 
AnswerRe: render ListBox Pin
Christian Graus4-Jun-09 23:04
protectorChristian Graus4-Jun-09 23:04 
QuestionCan anyone help Pin
owolabi Victor4-Jun-09 22:22
owolabi Victor4-Jun-09 22:22 
AnswerRe: Can anyone help Pin
Christian Graus4-Jun-09 22:26
protectorChristian Graus4-Jun-09 22:26 
AnswerRe: Can anyone help Pin
Manas Bhardwaj4-Jun-09 22:30
professionalManas Bhardwaj4-Jun-09 22:30 
AnswerRe: Can anyone help Pin
Abhijit Jana4-Jun-09 23:07
professionalAbhijit Jana4-Jun-09 23:07 
AnswerRe: Can anyone help Pin
Vasudevan Deepak Kumar4-Jun-09 23:40
Vasudevan Deepak Kumar4-Jun-09 23:40 
AnswerRe: Can anyone help Pin
J4amieC5-Jun-09 0:17
J4amieC5-Jun-09 0:17 
AnswerRe: Can anyone help Pin
AndyInUK5-Jun-09 0:50
AndyInUK5-Jun-09 0:50 
QuestionImage loading problem.... Pin
rjv2dlv4-Jun-09 21:25
rjv2dlv4-Jun-09 21:25 
AnswerRe: Image loading problem.... Pin
Christian Graus4-Jun-09 21:43
protectorChristian Graus4-Jun-09 21:43 
GeneralRe: Image loading problem.... Pin
rjv2dlv4-Jun-09 21:57
rjv2dlv4-Jun-09 21:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.