I need help regarding tab on click function in .net 2.0.
I am having some 4 to 6 tabs in a single page, users will work on each tab... when they click the next tab, it prompts a message which will ask them to move forward without saving the information or save the information. Based on their choice either it has to be in the same tab or move to the tab which the user has selected. Any help is greatly appreciated. Thanks in advance.
I am using the code provided below, it only takes me to the user selected tab and doesn't stay in the same tab.
if(confirm('You have unsaved data please save it'))
$find("<%=MainTabContainer.ClientID%>").set_activeTabIndex((sender.get_tabIndex() - 1));
View Complete Post