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

RadTabStrip with validationGroup and OnClientTabSelecting

1 Answer 81 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Nikolas G
Top achievements
Rank 1
Nikolas G asked on 18 May 2010, 12:34 PM
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

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 19 May 2010, 11:07 AM
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.
Tags
TabStrip
Asked by
Nikolas G
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or