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. sliding or collapsible display

sliding or collapsible display

Scheduled Pinned Locked Moved ASP.NET
wpfwcftutorial
3 Posts 2 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.
  • V Offline
    V Offline
    Vinay Varghese
    wrote on last edited by
    #1

    Hi, I want to display show times and the list of movies under it. The display would be like this - Show Time 6.30 PM Movie 1 Movie 2 Movie 3 Show Time 9.30 PM Movie 1 Movie 2 Movie 3 I want to display it in such a way that when I Click on "Show Time 6.30 PM" it would display the movies under that show and wont display anything under "Show Time 9.30 PM". Now when I click on "Show Time 9.30 PM", all the contents inside "Show Time 6.30 PM" should shrink and the list of movies should be available in "Show Time 9.30 PM". I need some idea on how to do this, will it be achieved using a sliding panel, or is there any other control. Note - For the show times and movie details I have a collection which I am binding it to a repaeter control. Regards Vinay

    S 1 Reply Last reply
    0
    • V Vinay Varghese

      Hi, I want to display show times and the list of movies under it. The display would be like this - Show Time 6.30 PM Movie 1 Movie 2 Movie 3 Show Time 9.30 PM Movie 1 Movie 2 Movie 3 I want to display it in such a way that when I Click on "Show Time 6.30 PM" it would display the movies under that show and wont display anything under "Show Time 9.30 PM". Now when I click on "Show Time 9.30 PM", all the contents inside "Show Time 6.30 PM" should shrink and the list of movies should be available in "Show Time 9.30 PM". I need some idea on how to do this, will it be achieved using a sliding panel, or is there any other control. Note - For the show times and movie details I have a collection which I am binding it to a repaeter control. Regards Vinay

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

      Well there can be various ways and controls to do it... Have a look at this sample: Accordion Demonstration[^]

      V 1 Reply Last reply
      0
      • S Sandeep Mewara

        Well there can be various ways and controls to do it... Have a look at this sample: Accordion Demonstration[^]

        V Offline
        V Offline
        Vinay Varghese
        wrote on last edited by
        #3

        Hi, I have tried using accordian but that`s not what i am trying to achieve here, please guide me If I am doing wrong. If you look at the example given by me what I want is the Show Times 1 to shrink when Show Time 2 is clicked and display all the movies under show time 2. I understand that under each Show Time there has to be panel, but my list is dynamic so I cannot manually set the number of panels. Can that be set from the code ? What I am looking is for a SINGLE sliding panel which floats around every row in the table, So if Row 1 is clicked the panel displays the show times under it, when Row 2 is clicked, the data inside row 1 Is shrinked and the panel floats to down displaying the movies under Row 2. Any Ideas? Thanks Vinay

        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