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

OnReordered causes postback when selecting tab

1 Answer 14 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Kern Shen
Top achievements
Rank 1
Kern Shen asked on 20 May 2013, 09:36 AM
Hi,

Setting OnReordered="true" is causing postback even when no reordering of the tabs is done.  It's causing postback when clicking on tabs to select which is not desired.  Is there anyway to workaround?

Thanks,
Kern.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 22 May 2013, 01:26 PM
Hello Kern Shen,

You could handle the OnClientTabSelecting and cancel the PostBack in the following manner:
function OnClientTabSelecting(sender, args) {
               args.get_tab().set_postBack(false);
           }


Regards,
Nencho
Telerik
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.
Tags
TabStrip
Asked by
Kern Shen
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or