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?
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.
Greetings,
Pero
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.