How to Close a Tab on client side event while click the close img in the tab?

3 posts, 0 answers
  1. John
    John  avatar
    15 posts
    Member since:
    Jun 2008

    Posted 28 Jun 2008 Link to this post

    How to Close a Tab on client side event while click the close icon in the tab?
    Just like Firfox does. We click the close icon in  the tab, the tab will be closed by javascript.

    I can add a close icon into tab with imgurl property. but i can fire the icon click event in the client.

    Can you give me some advise about how to achive this?

    Best regards.

    John Liu
  2. John
    John  avatar
    15 posts
    Member since:
    Jun 2008

    Posted 29 Jun 2008 Link to this post

    I've found the solution in the forum. see the post:

    http://www.telerik.com/community/forums/thread/b311D-gbcek.aspx
  3. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 30 Jun 2008 Link to this post

    Hi John ,

    The solution you have found in the Forums is for RadTabStrip for ASP.NET "Classic", but your forum post is under RadTabStrip for ASP.NET AJAX category. You should use the approach show in our Delete Tabs example. In the code tabs below the example you can find the code used.

    Regards,
    Paul
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top