Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi how can i use CollapsiblePanely web page inasp.net/c#?
Posted
Comments
Kenneth Haugland 27-Jul-12 12:33pm    
Expander you mean... I know the control exist in WPF but in ASP im not sure...

Would you delete this one, its a double post...

[Edit]
If you disegree then could you explain the differens between the current question an the one in this thread:
help for create the part of this site for show and hidden boxes[^]
[/Edit]
 
Share this answer
 
v2
Comments
Espen Harlinn 27-Jul-12 15:56pm    
I don't think you should have been downvoted so have a 5.
Kenneth Haugland 27-Jul-12 15:58pm    
Thanks :)
Simple example given below...

XML
<div>
                            <asp:Panel runat="server" ID="Panel1">
                                    <asp:Label runat="server" ID="lblMessage" Text="Remarks"></asp:Label>
                                    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                                    <asp:Image ID="ImageArrow" runat="server" />
                             </asp:Panel>
                             <asp:Panel runat="server" ID="Panel2">
                                <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"></asp:TextBox>
                                <br />
                              </asp:Panel>
                               <ajax:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" AutoCollapse="false" AutoExpand="false"
                                    CollapseControlID="Panel1" Collapsed="true" ExpandControlID="Panel1" TextLabelID="lblMessage"
                                    CollapsedText="Show" ExpandedText="Hide" TargetControlID="Panel2"
                                    ScrollContents="false" ExpandDirection="Vertical" ImageControlID="ImageArrow" CollapsedSize="0" ExpandedSize="120">

                              </ajax:CollapsiblePanelExtender>
                         </div>


for more detail check given link
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CollapsiblePanel/CollapsiblePanel.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900