RadribbonBar no causesvalidation attribute

4 posts, 0 answers
  1. Jason
    Jason avatar
    26 posts
    Member since:
    May 2008

    Posted 13 May 2011 Link to this post

    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.
  2. Sam
    Sam avatar
    3 posts
    Member since:
    Sep 2007

    Posted 17 May 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Simon
    Simon avatar
    2281 posts

    Posted 20 May 2011 Link to this post

    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.

    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.

  5. Sam
    Sam avatar
    3 posts
    Member since:
    Sep 2007

    Posted 20 May 2011 Link to this post

    Great, thanks a lot!
Back to Top