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

RadribbonBar no causesvalidation attribute

3 Answers 53 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 13 May 2011, 03:58 PM
Hi I am on the latest internal build and I have a page with validation controls on it and I can not switch tabs on the ribbonbar without firng the validation.

3 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 17 May 2011, 08:37 PM
This issue can be applied to the latest stable build as well. Honestly I don't understand why would you fire such an event and will not have CausesValidation property. Same can be said about ValidationGroup as well.

Please fix this issue a.s.a.p as it's definitely a bug.
0
Simon
Telerik team
answered on 20 May 2011, 04:52 PM
Hello guys,

Validation triggers because of the internal RadTabStrip, which is inside RadRibbonBar. Generally RadRibbonBar does not have CausesValidation and ValidationGroup properties. Once we replace RTS with a simplified and lightweight TabStrip the problem will disappear.

In the meanwhile you can disable validation on the internal RTS in this way:
var tabStrip = (RadTabStrip)RadRibbonBar1.FindControl(RadRibbonBar1.ID + "_TabStrip");
tabStrip.CausesValidation = false;

I hope this helps.

Regards,
Simon
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sam
Top achievements
Rank 1
answered on 20 May 2011, 06:22 PM
Great, thanks a lot!
Tags
RibbonBar
Asked by
Jason
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Simon
Telerik team
Share this question
or