i am using a tabstrip, some tabs of which are inintially disabled via markup code:
<Tabs>
<telerik:RadTab Text="Arrangement" Value="Arrangement" />
<telerik:RadTab Text="Specials" Value="Specials" Enabled="false" />
<telerik:RadTab Text="Monthly Commitments" Enabled="false" Value="MonthlyCommitments" />
</Tabs>
i then have client code that enables the tabs based on certain client-side events like so:
function SelectSpecialsTab() {
Page_ClientValidate();
if (Page_IsValid) {
var Tab = GetTab("Specials");
Tab.enable();
Tab.click();
}
return false;
}
this works fine. however, everytime the server is hit via postback or ajaxmanager request client code (.ajaxRequest(string), for example), the tabs revert back to their initial enabled property settings, disabled in this case.
i've even tried taking the enabled = "false" property out of the markup and setting it in the codebehind in a !ispostback block, but it still disables the tabs. when i take the enabled = "false" logic out completely from the markup and codebehind, the tabs stay enabled.
any idea on how to keep this from happening?