OnReordered causes postback when selecting tab

2 posts, 0 answers
  1. Kern
    Kern avatar
    7 posts
    Member since:
    Mar 2009

    Posted 20 May 2013 Link to this post

    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.
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 22 May 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top