How to Prevention OnTabClick event?

2 posts, 1 answers
  1. kia
    kia avatar
    17 posts
    Member since:
    Oct 2010

    Posted 03 Jan 2011 Link to this post

    Hi
    I using Vs.2008
    I have a RadTripStrip with 4 tabs
    I want fire OnTabClick event on server side just for one of those tabs

    I write OnClientTabSelecting event, i can determine in this event what tab is selecting
    Now, how i prevention OnTabClick event in my cutom case?
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jan 2011 Link to this post

    Hello Kia,

    You can use the method set_postBack to prevent the OnTabClick Event.

    JavaScript:
    function OnClientTabSelecting(sender, args)
    {
       //condition
      args.get_tab().set_postBack(false);
    }

    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top