Hi Folks,
I dynamically build RadTabs for user search results. However, I want to be able to let the user close a tab by just clicking on an 'X' icon. Is this possible? Currently the user can close tabs by clicking on a button in a toolbar which closes the selected tab, but this is not ideal. This is done with the following code:
I also need the removing of a tab to trigger a server side event.
Cheers,
Ian
I dynamically build RadTabs for user search results. However, I want to be able to let the user close a tab by just clicking on an 'X' icon. Is this possible? Currently the user can close tabs by clicking on a button in a toolbar which closes the selected tab, but this is not ideal. This is done with the following code:
RadTab selectedTab = this.rtsResultSet.SelectedTab; |
this.rtsResultSet.Tabs.Remove(selectedTab); |
int tabCount = this.rtsResultSet.Tabs.Count; |
this.rtsResultSet.SelectedIndex = (tabCount - 1); |
I also need the removing of a tab to trigger a server side event.
Cheers,
Ian