This is a migrated thread and some comments may be shown as answers.

error when closing appointment

3 Answers 55 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
mike john
Top achievements
Rank 1
mike john asked on 11 Feb 2010, 07:00 PM
I have a scheduler which shows current appointments when I open an appointment it shows all the details as expected however if I close the appointment I get the following error

A potentially dangerous Request.Form value was detected from the client (RadScheduler1$Form$Description="<p>

any ideas?

Mike

3 Answers, 1 is accepted

Sort by
0
Accepted
robertw102
Top achievements
Rank 1
answered on 12 Feb 2010, 02:24 PM
I believe the cause of that error is because there is a "<p>" tag in the description textbox, which is a security check that ASP.NET does automatically to prevent scripts from being passed in a form submission.

If that's what you want to allow, the entering of tags, you'll need to set ValidateRequest="false" in your page to disable this check from being performed.
0
mike john
Top achievements
Rank 1
answered on 12 Feb 2010, 03:35 PM

Hi thanks for the reply I got it however this will stop all inputs so is not very secure is there no way to have just that control no checked?

 

 


thanks
 

 

 

 

 

 

 

0
robertw102
Top achievements
Rank 1
answered on 12 Feb 2010, 07:48 PM
I don't believe you can disable validation on individual controls. My only suggestion would be to somehow encode the tag characters '<' and '>' entered in the textbox before the button submits the form.
Tags
Scheduler
Asked by
mike john
Top achievements
Rank 1
Answers by
robertw102
Top achievements
Rank 1
mike john
Top achievements
Rank 1
Share this question
or