Hi,
I have several tabs in tabcontainer control, on a page. I am using checbox in the headertemplate of each of my tabpanels (in tabcontainer). The new ajax (Jun 23 2012 release) got an issue with this thing. It doesn't let the checkbox change its checked state. The value is just restored to what it was before, when i clicked the checbox. Please look into this issue.
Thanks..
----- SOURCE CODE -----
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TabContainer ID="TabContainer1" runat="server" >
<asp:TabPanel ID="Tab1" runat="server" OnClientClick="TabPanelClicked" >
<HeaderTemplate>
Tab Panel 1
<asp:CheckBox ID="cbTab1" runat="server" onclick="ToggleCheckbox(this)" />
</HeaderTemplate>
<ContentTemplate>
<br /> This is Tab 1
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="Tab2" runat="server" OnClientClick="TabPanelClicked" >
<HeaderTemplate>
Tab Panel 2
<asp:CheckBox ID="cbTab2" runat="server" onclick="ToggleCheckbox(this)" />
</HeaderTemplate>
<ContentTemplate>
<br /> This is Tab 2
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="Tab3" runat="server" OnClientClick="TabPanelClicked" >
<HeaderTemplate>
Tab Panel 3
<asp:CheckBox ID="cbTab3" runat="server" onclick="ToggleCheckbox(this)" />
</HeaderTemplate>
<ContentTemplate>
<br /> This is Tab 3
</ContentTemplate>
</asp:TabPanel>
</asp:TabContainer>
</ContentTemplate>
</asp:UpdatePanel>
I have several tabs in tabcontainer control, on a page. I am using checbox in the headertemplate of each of my tabpanels (in tabcontainer). The new ajax (Jun 23 2012 release) got an issue with this thing. It doesn't let the checkbox change its checked state. The value is just restored to what it was before, when i clicked the checbox. Please look into this issue.
Thanks..
----- SOURCE CODE -----
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TabContainer ID="TabContainer1" runat="server" >
<asp:TabPanel ID="Tab1" runat="server" OnClientClick="TabPanelClicked" >
<HeaderTemplate>
Tab Panel 1
<asp:CheckBox ID="cbTab1" runat="server" onclick="ToggleCheckbox(this)" />
</HeaderTemplate>
<ContentTemplate>
<br /> This is Tab 1
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="Tab2" runat="server" OnClientClick="TabPanelClicked" >
<HeaderTemplate>
Tab Panel 2
<asp:CheckBox ID="cbTab2" runat="server" onclick="ToggleCheckbox(this)" />
</HeaderTemplate>
<ContentTemplate>
<br /> This is Tab 2
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="Tab3" runat="server" OnClientClick="TabPanelClicked" >
<HeaderTemplate>
Tab Panel 3
<asp:CheckBox ID="cbTab3" runat="server" onclick="ToggleCheckbox(this)" />
</HeaderTemplate>
<ContentTemplate>
<br /> This is Tab 3
</ContentTemplate>
</asp:TabPanel>
</asp:TabContainer>
</ContentTemplate>
</asp:UpdatePanel>