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

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

2 Answers 71 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 29 Jun 2008, 04:04 AM
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 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 29 Jun 2008, 11:07 AM
I've found the solution in the forum. see the post:

http://www.telerik.com/community/forums/thread/b311D-gbcek.aspx
0
Paul
Telerik team
answered on 30 Jun 2008, 05:02 AM
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
Tags
TabStrip
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Paul
Telerik team
Share this question
or