error when closing appointment

4 posts, 1 answers
  1. mike john
    mike john avatar
    21 posts
    Member since:
    Jan 2010

    Posted 11 Feb 2010 Link to this post

    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
  2. Answer
    robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 12 Feb 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mike john
    mike john avatar
    21 posts
    Member since:
    Jan 2010

    Posted 12 Feb 2010 Link to this post

    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
     

     

     

     

     

     

     

  5. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 12 Feb 2010 Link to this post

    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.
Back to Top