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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Vertical Scroll bar in a treeview

Vertical Scroll bar in a treeview

Scheduled Pinned Locked Moved ASP.NET
questiontutorial
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.
  • M Offline
    M Offline
    meeram395
    wrote on last edited by
    #1

    I have a treeview in my page which I need to put a vertical scrollbar. How can i do that? Since there is no inbuild property, I am not sure how to do that inside a ? Can anybody please give an idea on this? Thanks in advance.

    Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

    L M 2 Replies Last reply
    0
    • M meeram395

      I have a treeview in my page which I need to put a vertical scrollbar. How can i do that? Since there is no inbuild property, I am not sure how to do that inside a ? Can anybody please give an idea on this? Thanks in advance.

      Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Why don't you use ASP.NET Panel control with ScrollBars property set to 'Auto' and put around TreeView control.

      M 1 Reply Last reply
      0
      • L Lost User

        Why don't you use ASP.NET Panel control with ScrollBars property set to 'Auto' and put around TreeView control.

        M Offline
        M Offline
        meeram395
        wrote on last edited by
        #3

        Thanks. Let me give a try.

        Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

        1 Reply Last reply
        0
        • M meeram395

          I have a treeview in my page which I need to put a vertical scrollbar. How can i do that? Since there is no inbuild property, I am not sure how to do that inside a ? Can anybody please give an idea on this? Thanks in advance.

          Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

          M Offline
          M Offline
          Member 4755893
          wrote on last edited by
          #4

          put ti gridview in the div element and set the style of div element to overflow-y:scroll for vertical and overflow-x for horizontal and only overflow:scroll for both example

          <---- your gridview control ------>

          Shaikh Tauhid Hasan

          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