RadTabStrip with validationGroup and OnClientTabSelecting

2 posts, 0 answers
  1. Nikolas G
    Nikolas G avatar
    11 posts
    Member since:
    Oct 2009

    Posted 18 May 2010 Link to this post

    Hi ,
    I have a RadTabStrip  which has  validationGroup="Pedia"  and an OnClientTabSelecting="ClientTabSelectingHandler".

        function ClientTabSelectingHandler(sender, eventArgs) {
                
                  
                    if (Page_ClientValidate("ValidationGroupPedia") == false) {
                 
                        document.getElementById('LocationConfirm').style.display = "none";
                        return false;
                    }

                }

    The OnClientTabSelecting is only being fired when I remove the validationGroup or when the Page Validation is false..

    Any ideas?

    thnx a lot
  2. Yana
    Admin
    Yana avatar
    5023 posts

    Posted 19 May 2010 Link to this post

    Hello Nikolas,

    You should set CausesValidation property of the tabstrip to "false" in order to avoid this.

    Regards,
    Yana
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top