Wednesday, March 21, 2012

Web controls with in th Accordion control

Hi,


Is there a way or an example to put ASP.Net controls and another Ajax controls within the accordion control?.


Thanks.

Marco

this is my own example

<cc1:AccordionPane ID="AP3" runat="server">
<Header>
<a href="http://links.10026.com/?link=" onclick="return false;" class="accordionLink">Section 3</a></Header>
<Content>
<asp:UpdatePanel ID="up3" runat="server">
<ContentTemplate>
<asp:GridView ID="gd2" runat="server">
</asp:GridView>
<asp:Button ID="btnClick" runat="server" Text="Call Database" OnClick="btnClick_Click" />
</ContentTemplate>
</asp:UpdatePanel>
</Content>
</cc1:AccordionPane>

then on the btnClick's click event, I generate gridview from database

so yes. you can have most of control within accordion

No comments:

Post a Comment