Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. AJAX control Toolkit Accordion Control problem

AJAX control Toolkit Accordion Control problem

Scheduled Pinned Locked Moved ASP.NET
sysadminhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Faisal Khatri
    wrote on last edited by
    #1

    I am using AJAX control toolkit Accordion control on my page. In accordion pane i have added one pane and in that pane i put some header and content. My code below shows for header and content <Header> <div style="float: left; width: 100%;" class="head4"> 1. Household Size</div> </Header> <Content> <div style="float: left; width: 50%; background-color: #a9d4ff;"> <asp:Label ID="lbl_Stud_HouseholdSize" runat="server" Text="5"></asp:Label> </div> <div style="float: left; width: 50%; background-color: #afffaf;"> <asp:Label ID="lbl_Parent_HSize" runat="server" Text=""></asp:Label></div> <div style="float: left; width: 50%; background-color: #a9d4ff;"> <div style="float: left; width: 100%;"> <asp:RadioButtonList ID="rd_Shouseholdsize" runat="server" RepeatDirection="Horizontal" Width="70px" AutoPostBack="True" OnSelectedIndexChanged="rd_householdsize_SelectedIndexChanged"> <asp:ListItem Value="1">Valid</asp:ListItem> <asp:ListItem Value="0">Correction</asp:ListItem> </asp:RadioButtonList> </div> </div> </Content> The problem is when i execute, it does not show anything in pane. Just show the headers. Any solution will be helpfull.

    K M 2 Replies Last reply
    0
    • F Faisal Khatri

      I am using AJAX control toolkit Accordion control on my page. In accordion pane i have added one pane and in that pane i put some header and content. My code below shows for header and content <Header> <div style="float: left; width: 100%;" class="head4"> 1. Household Size</div> </Header> <Content> <div style="float: left; width: 50%; background-color: #a9d4ff;"> <asp:Label ID="lbl_Stud_HouseholdSize" runat="server" Text="5"></asp:Label> </div> <div style="float: left; width: 50%; background-color: #afffaf;"> <asp:Label ID="lbl_Parent_HSize" runat="server" Text=""></asp:Label></div> <div style="float: left; width: 50%; background-color: #a9d4ff;"> <div style="float: left; width: 100%;"> <asp:RadioButtonList ID="rd_Shouseholdsize" runat="server" RepeatDirection="Horizontal" Width="70px" AutoPostBack="True" OnSelectedIndexChanged="rd_householdsize_SelectedIndexChanged"> <asp:ListItem Value="1">Valid</asp:ListItem> <asp:ListItem Value="0">Correction</asp:ListItem> </asp:RadioButtonList> </div> </div> </Content> The problem is when i execute, it does not show anything in pane. Just show the headers. Any solution will be helpfull.

      K Offline
      K Offline
      keyur satyadev
      wrote on last edited by
      #2

      look at below link you will get the solution. http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Accordion/Accordion.aspx

      Regards Keyur Satyadev

      1 Reply Last reply
      0
      • F Faisal Khatri

        I am using AJAX control toolkit Accordion control on my page. In accordion pane i have added one pane and in that pane i put some header and content. My code below shows for header and content <Header> <div style="float: left; width: 100%;" class="head4"> 1. Household Size</div> </Header> <Content> <div style="float: left; width: 50%; background-color: #a9d4ff;"> <asp:Label ID="lbl_Stud_HouseholdSize" runat="server" Text="5"></asp:Label> </div> <div style="float: left; width: 50%; background-color: #afffaf;"> <asp:Label ID="lbl_Parent_HSize" runat="server" Text=""></asp:Label></div> <div style="float: left; width: 50%; background-color: #a9d4ff;"> <div style="float: left; width: 100%;"> <asp:RadioButtonList ID="rd_Shouseholdsize" runat="server" RepeatDirection="Horizontal" Width="70px" AutoPostBack="True" OnSelectedIndexChanged="rd_householdsize_SelectedIndexChanged"> <asp:ListItem Value="1">Valid</asp:ListItem> <asp:ListItem Value="0">Correction</asp:ListItem> </asp:RadioButtonList> </div> </div> </Content> The problem is when i execute, it does not show anything in pane. Just show the headers. Any solution will be helpfull.

        M Offline
        M Offline
        Mark Graham
        wrote on last edited by
        #3

        Here's a sample that works for me. This is one of my accordian snippets from an Ajax-enabled web project. Take a look - you might see something that you have missed. Also, check your CSS - make sure you don't have bugs in there - something that might be hiding a div for example. <ajaxToolkit:Accordion ID="ajax_acc_Reports" runat="server" HeaderCssClass="accordionheader" HeaderSelectedCssClass="accordionheader-selected" SelectedIndex="-1" AutoSize="None" FadeTransitions="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" SuppressHeaderPostbacks="true"> <Panes> <ajaxToolkit:AccordionPane ID="apnAnalysis" runat="server" ContentCssClass="accordionpane-selected"> <Header><strong>Analysis</strong></Header> <Content> <ul><li><a href="Reports/Analysis/July_09.pdf" title="QA July 09 Report" target="_blank">QA July 09 Report</a></li></ul> </Content> </ajaxToolkit:AccordionPane> </Panes> </ajaxToolkit:Accordion> Please let me know if this does or does not help you

        Mark Graham (MCP) blogging about Design Patterns, C#, Asp.Net, CSS, Javascript and Ajax at: DESIGN CODE TEST[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups