Missing CausesValidation

2 posts, 0 answers
  1. Neil
    Neil avatar
    34 posts
    Member since:
    Sep 2012

    Posted 26 Apr 2012 Link to this post

    I discovered that clicking on certain toolbar buttons in the Image Editor triggers page validation but there is no CausesValidation attribute to turn this behavior off. Do you have a recommended way around this?
  2. Pero
    Pero avatar
    1156 posts

    Posted 01 May 2012 Link to this post


    Indeed there is a problem with the validation. I logged the issue into our PITS system and you can track its progress. We will do our best to fix it for some of the upcoming releases. For the moment I would suggest the following solutions:
    • Inherit the RadImageEditor control and override the ControlPreRender method. Then find the toolbar controls and set their CausesValidation properties to false. See attached code to see how exactly it is done.
    • On the page where the RadImageEditor resides, get a reference to the ImageEditor control and find the toolbar controls, and again set their CausesValidation properties to false.The attached has example how to do this.

    I have added 500 Telerik to your account for reporting this bug.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top