Hi,
How do I maintain the users selected tab on post back.
For example, let's say I have 5 tabs and the user picks tab 2. Now the user hits submit outside of the web tab that causes a post back. Currently on my page, the tab selection is reverted back to the default i.e. tab 1. How do I get the user's selected tab i.e. tab 2 to be selected when the page posts back.
Any help will be greatly appreciated.
Let us know if you still need assistance with this.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
The selected tab index should be maintained during postbacks, unless you are setting it explicitly in the code behind. Would you verify that you are not doing it? If you need to set the tab index, you can modify the setting to be only the first time:
if (!IsPostBack)
UltraWebTab1.SelectedTabIndex = 0;
Hope this helps.
I'm not sure what you mean. Could you send me a code snippet as an example?
Thanks.
Hi, there,
My suggestion would be: handle onpostback and get the selected index of your tab and then set the selected index back to it.
Is this suggestion of any help to you?