RadTabStrip_TabClick for each tab

2 posts, 0 answers
  1. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 27 Apr 2012 Link to this post

    How can I achieve custom behavior, when postback will only occur upon specific tabs being selected?
    Say, there are 3 tabs and I would like to do nothing with the first, do client-js modifications with the 2, and process the click on the 3d button on the server.
    Generic solution is requiered in order to support any amount of tabs.
  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 30 Apr 2012 Link to this post


    You should subscribe to the TabClick server event and to the OnClientTabSelecting client-side one. In the event handler function of the client-side event the following check show be performed and based on the result the post-back should be disabled if needed:
    function onTabSelecting(sender, args)
        if (//Condition)

    All the best,
    Dimitar Terziev
    the Telerik team
    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. DevCraft R3 2016 release webinar banner
Back to Top