让Accordion Pane变得活跃,Ajax,ASP C#

时间:2017-05-09 15:39:39

标签: c# asp.net ajax

我不是专家,我必须在一个应用程序中使用Ajax手风琴面板,根据Accordion Pane有几个动作是活跃的,我的手风琴就像:

<ajax:ToolkitScriptManager ID="Scriptmng_Rep" runat="server" />
    <div>
        <ajax:Accordion ID="ReposAccordion" runat="server" SelectedIndex="0" HeaderCssClass="accordionHeader"
            HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent" FadeTransitions="true" SuppressHeaderPostbacks="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" AutoSize="None"
            >
            <Panes>
                <ajax:AccordionPane ID="AccordPane_RepoFact" runat="server" >
                    <Header><a href="#" class="href">Reporte Facturacion</a></Header>
                    <Content>
                        <asp:Panel ID="Repo_Fact" runat="server">
                            <asp:Table ID="table1"
                                runat="server"
                                Width="550"
                                BackColor="Orange"
                                BorderColor="DarkRed"
                                BorderWidth="2"
                                ForeColor="Snow"
                                CellPadding="5"
                                CellSpacing="5">
                                <asp:TableRow
                                    ID="TableRow4"
                                    runat="server"
                                    BackColor="OrangeRed">
                                    <asp:TableCell></asp:TableCell>
                                    <asp:TableCell></asp:TableCell>
                                </asp:TableRow>
                            </asp:Table>
                        </asp:Panel>
                    </Content>
                </ajax:AccordionPane>

                <ajax:AccordionPane ID="AccordPane_RepoEnvNoDev" runat="server" >
                    <Header><a href="#" class="href">Enviados no Devueltos</a></Header>
                    <Content>
                        <asp:Panel ID="Repo_EnvNoDev" runat="server">
                            <asp:Table ID="table2"
                                runat="server"
                                Width="550"
                                BackColor="Orange"
                                BorderColor="DarkRed"
                                BorderWidth="2"
                                ForeColor="Snow"
                                CellPadding="5"
                                CellSpacing="5">
                                <asp:TableRow
                                    ID="TableRow3"
                                    runat="server"
                                    BackColor="OrangeRed">
                                    <asp:TableCell></asp:TableCell>
                                    <asp:TableCell></asp:TableCell>
                                </asp:TableRow>
                            </asp:Table>
                        </asp:Panel>
                    </Content>
                </ajax:AccordionPane>

            </Panes>
        </ajax:Accordion>
    </div>

还有更多窗格,我的问题是如何才能获得所选窗格? 我需要它来采取行动。

我希望,请你帮助我。

最好的问候

0 个答案:

没有答案