Hi,
This is related to the problem facing in trapping the Server Side Change Event of 'Tab Container - Tab Panel'
Below is the code:
<cc1:TabContainer ID="TabContainer1" runat="server" OnClientActiveTabChanged="Change"OnActiveTabChanged="TabContainer1_ActiveTabChanged">
<cc1:TabPanel ID="TabPanel1" runat="server">
<HeaderTemplate>Tab 1</HeaderTemplate>
<ContentTemplate>Tab 1 Content</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel ID="TabPanel2" runat="server">
<HeaderTemplate>Tab 2</HeaderTemplate>
<ContentTemplate>Tab 2 Content</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
There are two events provided to handle Client & Server Side events seperately. Client Event works properly.
For reference : http://ajax.asp.net/ajaxtoolkit/Tabs/Tabs.aspx
Problem:The server side event is not working.
Quick help will be highly appreciated.
Regards,
Arun Manglick
Hi,
Here is the solution.
Add 'AutoPostback' property.
<cc1:TabContainer ID="TabContainer1" runat="server" OnClientActiveTabChanged="ActiveTabChanged" OnActiveTabChanged="TabContainer1_ActiveTabChanged"AutoPostBack="True">
Reference : http://www.codeplex.com/AtlasControlToolkit/WorkItem/View.aspx?WorkItemId=7739
The solution seems to be strange. This solution is been added on 02Jun07. Before that it was a major challenge to overcome that.
Regards,
Arun...
No comments:
Post a Comment