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 Tool Kit +ASP.Net

AJAX Tool Kit +ASP.Net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
4 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.
  • C Offline
    C Offline
    chetan_agarwal
    wrote on last edited by
    #1

    Hi All, I am using Ajax toolkit and extenders for asp.net2.0..I have 3 collapsible panels.I want to collapse/expand all the panels on single panel click... Do any one out there has code for that..any idea will be helpful.. Thanks in advance..!!

    A S 2 Replies Last reply
    0
    • C chetan_agarwal

      Hi All, I am using Ajax toolkit and extenders for asp.net2.0..I have 3 collapsible panels.I want to collapse/expand all the panels on single panel click... Do any one out there has code for that..any idea will be helpful.. Thanks in advance..!!

      A Offline
      A Offline
      AtiqueJnp
      wrote on last edited by
      #2

      <asp:DataList ID="cartview" runat="server" BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" CellPadding="0" CellSpacing="0" GridLines="Horizontal" OnItemDataBound="cartview_ItemDataBound" RepeatColumns="1" Width="528px" OnItemCommand="cartview_ItemCommand" ForeColor="Black"> <FooterStyle BackColor="Black" ForeColor="Black" /> <SelectedItemStyle Font-Bold="True" ForeColor="Black" /> <ItemTemplate> <table border="2" bordercolor="black" cellpadding="0" cellspacing="0" style="width: 729px"> <tr> <td style="width: 760px"> <table border="0"> <tr> <td style="width: 760px;"> <asp:Panel ID="pnlExpand" runat="server" BackImageUrl="~/images/bg-menu-main.png" Width="775px"> <div style="vertical-align: middle; cursor: pointer;"> <table width="774" border="1" cellpadding="0" cellspacing="0"> <tr> <td style="width: 90px; height: 30px; padding-left: 5px;" align="left"> <asp:Label ID="lblTxnId" runat="server" ForeColor="White" Text='<%# Eval(

      1 Reply Last reply
      0
      • C chetan_agarwal

        Hi All, I am using Ajax toolkit and extenders for asp.net2.0..I have 3 collapsible panels.I want to collapse/expand all the panels on single panel click... Do any one out there has code for that..any idea will be helpful.. Thanks in advance..!!

        S Offline
        S Offline
        Sandeep Mewara
        wrote on last edited by
        #3

        What's the problem? In the collapse/Expand event, write the logic to expand/collapse all of them at once.

        C 1 Reply Last reply
        0
        • S Sandeep Mewara

          What's the problem? In the collapse/Expand event, write the logic to expand/collapse all of them at once.

          C Offline
          C Offline
          chetan_agarwal
          wrote on last edited by
          #4

          I have done expand/collapse for each individual panel..But if I add one more panel and click of this I want the rest of the panels to expand/collapse.. Can you provide the code for this.......!

          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