0

这是我第一次尝试在我的页面上实现这一点。我已经浏览了几个示例,包括[这里][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>
4

1 回答 1

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>
于 2014-01-12T19:32:34.973 回答