果汁手风琴没有崩溃

时间:2014-01-12 19:10:31

标签: asp.net juice-ui

这是我第一次尝试在我的页面上实现这一点。我已经完成了几个样本,包括给出的默认样本[here] [1]

[1]:http://juiceui.com/controls/accordion。我完全基于该链接上的示例提供实现。但我的页面仍然没有崩溃。任何人都知道自己做错了什么。

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<juice:Accordion ID="Accordion1" runat="server" Collapsible="false" AutoHeight="True">
    <juice:AccordionPanel ID="AccordionPanel1" Title="System Setup" runat="server">
        <PanelContent>
            <ul>
                <li><a href="Pharmacy/SetUp/Newtreatment.aspx">New Treatment</a></li>
                <li><a href="Pharmacy/SetUp/Newdrug.aspx">New Drug</a></li>
                <li><a href="Pharmacy/SetUp/drugcost.aspx">Drug Cost</a></li>
            </ul>
        </PanelContent>
    </juice:AccordionPanel>
    <juice:AccordionPanel ID="AccordionPanel2" Title="Treatment" runat="server">
        <PanelContent>
            <ul>
                <li><a href="Treatment/newprescription.aspx">Treatment</a></li>
                <li><a href="Treatment/Requestlab.aspx">Lab Request</a></li>
            </ul>
        </PanelContent>
    </juice:AccordionPanel>
    <juice:AccordionPanel ID="AccordionPanel3" Title="Laboratory" runat="server">
        <PanelContent>
            <ul>
                <li><a href="LabManagement/Adminitration/newtest.aspx">New Lab Test</a></li>
                <li><a href="LabManagement/Adminitration/TestExamination.aspx">Examination</a></li>
            </ul>
        </PanelContent>
    </juice:AccordionPanel>
    <juice:AccordionPanel ID="AccordionPanel4" runat="server" Title="Payment Department">
        <PanelContent>
            <ul>
                <li><a href="PaymentDepartment/payment.aspx">Bills</a></li>
            </ul>
        </PanelContent>
    </juice:AccordionPanel>
    <juice:AccordionPanel ID="AccordionPanel5" runat="server" Title="Reports">
        <PanelContent>
            <ul>
                <li>Medical Certificate</li>
                <li>Death Certifificate</li>
            </ul>
        </PanelContent>
    </juice:AccordionPanel>
</juice:Accordion>

1 个答案:

答案 0 :(得分:0)

我终于得到了另一个人在stackoverflow上提供的解决方案:

<asp:ScriptManager runat="server">
  <Scripts>
<asp:ScriptReference Path="~/Scripts/jquery-1.8.3.js"/>
<asp:ScriptReference Path="~/Scripts/jquery-ui-1.9.2.js"/>
  </Scripts>
</asp:ScriptManager>