Rank: Newbie Groups: Member
Joined: 1/29/2013 Posts: 3
|
I am using EO grid inside a Collapsible panel, First I have used Ajax control to do it, when I used it in Internet Explorer 8 when the we click on the Collapsible panel, the panel was closing but Grid was stuck to the screen. So to avoid that I used a JQuery Toggle for this, and now it is not sticking but when i collapse and uncollapse the Panel, the font and other styling of the gird is lost, please suggest the possible solutions for this.
Thanks in Advance
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, You can use ajax:CollapsiblePanelExtender with our Grid. The following sample shows you how to use it:
Code: HTML/ASPX
<ajax:ToolKitScriptManager runat="server" ID="sm1">
</ajax:ToolKitScriptManager>
<asp:Panel ID="pHeader" runat="server">
<asp:Label ID="lblText" runat="server" />
</asp:Panel>
<asp:Panel runat="server" ID="pBody">
....Put grid here....
</asp:Panel>
<ajax:CollapsiblePanelExtender runat="server" ID="cpe1"
TargetControlID="pBody" CollapseControlID="pHeader"
ExpandControlID="pHeader"
Collapsed="true" TextLabelID="lblText"
CollapsedText="Click to Show Content.."
ExpandedText="Click to Hide Content..">
</ajax:CollapsiblePanelExtender>
Thanks!
|