Hi,
I am trying to implement a Firefox type tab add/delete option for tab strip. The tab strip, tabs and multipage are generated dynamically and I also want to delete them on server side event. Right now I have a delete button in each page view which deletes the pageview and related tab. It works fine but very confusing for the user so I want to implement firefox type delete where you can delete the tab from the cross button on the tab. As I have to delete the tab and associated pageview and also do some other stuff when someone clicks the delete tab button, this has to be server side. I saw this example
http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/create-dynamic-closable-radtab-and-radmultipage-server-side.aspx and tried doing an image button instead of htmlimage for clientside delete but that doesn't work. It does add the image button on the tab but if you do anything which causes postback you get an error saying "
Multiple controls with the same ID 'i0' were found. FindControl requires that controls have unique IDs."
I have investigated the error and it is because of the same ids given to more than one tabs. I tried setting tabid but it is read only.
This is part of a big project and I can't just copy the code here, I would have to create a seperate project. Also the way I am using tabs and pageviews is that there is one tab strip with a multipage and then each page view in multipage has another tabstrip and multipage. So its like nested tab strip in a page view.
Can anyone please help me with this?