为了不正确地工作,手风琴组件 [英] To not proper work the accordian component
本文介绍了为了不正确地工作,手风琴组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我下载了Ajax Extension& VS2005工具包
&我通过浏览下载ajax .dll的位置来添加工具箱.
我的网页代码如下:-
--------------------------
I download the Ajax Extension & Toolkit for VS2005
& I add the tool box through browsing where the downloading ajax .dll are located.
My web page code is below:--
--------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.Header
{
background-color: #000000;
color: White;
padding: 4px;
font-weight: bold;
}
.SelectedHeader
{
background-color: #808080;
color: White;
padding: 4px;
font-weight: bold;
}
.Contents
{
background-color: #f3f3f3;
padding: 5px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
<asp:Accordion ID="Accordion1" runat="server"
HeaderCssClass="Header" ContentCssClass="Contents"
HeaderSelectedCssClass="SelectedHeader"
Font-Names="Verdana" Font-Size="10"
BorderColor="#000000" BorderStyle="Solid" BorderWidth="1"
FramesPerSecond="100" FadeTransitions="true"
TransitionDuration="250">
<panes>
<asp:AccordionPane runat="server" ID="AccordionPane1">
<Header>Books</Header>
<content>
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
<asp:ListItem>HTML
<asp:ListItem>PHP
<asp:ListItem>XML
</content>
<asp:AccordionPane runat="server" ID="AccordionPane2">
<Header>Movies</Header>
<content>
<asp:RadioButtonList ID="RadioButtonList2" runat="server">
<asp:ListItem>Titanic
<asp:ListItem>Speed
<asp:ListItem>Shooter
</content>
<asp:AccordionPane runat="server" ID="AccordionPane3">
<Header>Sports</Header>
<content>
<asp:RadioButtonList ID="RadioButtonList3" runat="server">
<asp:ListItem>Football
<asp:ListItem>Cricket
<asp:ListItem>Snooker
</content>
</panes>
</form>
</body>
</html>
为什么在运行时无法正常工作Accordian组件????
请有人帮助我解决上述问题.....
Why can not proper working the accordian component at runtime????
Please Please anybody help me to solving the above problem.....
推荐答案
您的位置在哪里:
</asp:ToolkitScriptManager>
和
</asp:Accordion>
吗?
附加参考:
http://www.asp.net/ajaxlibrary/act_Accordion_Simple.ashx [
?
Additional Reference:
http://www.asp.net/ajaxlibrary/act_Accordion_Simple.ashx[^]
这篇关于为了不正确地工作,手风琴组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文