Click here to Skip to main content
15,909,437 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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:--
--------------------------

ASP.NET
<%@ 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>

Why can not proper working the accordian component at runtime????
Please Please anybody help me to solving the above problem.....
Posted
Updated 14-Sep-12 3:18am
v2
Comments
bbirajdar 14-Sep-12 9:04am    
" not proper working" is not a proper technical description of the problem. I cant help you on this...
Sandeep Mewara 14-Sep-12 9:18am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

1 solution

Where are your :
</asp:ToolkitScriptManager>
and
</asp:Accordion>
?

Additional Reference:
http://www.asp.net/ajaxlibrary/act_Accordion_Simple.ashx[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900