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. how to show the panel scroll completely down when it is loaded.

how to show the panel scroll completely down when it is loaded.

Scheduled Pinned Locked Moved ASP.NET
tutorial
4 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.
  • J Offline
    J Offline
    jagan123
    wrote on last edited by
    #1

    how to show the panel scroll bar when it is loded for the first time

    V 1 Reply Last reply
    0
    • J jagan123

      how to show the panel scroll bar when it is loded for the first time

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      Set the overflow style to auto or scroll like,

      MY_PANEL.Style.Add ("overflow", "auto")
      

      Here MY_PANEL is your panel control's ID.

      [Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot

      J 1 Reply Last reply
      0
      • V Venkatesh Mookkan

        Set the overflow style to auto or scroll like,

        MY_PANEL.Style.Add ("overflow", "auto")
        

        Here MY_PANEL is your panel control's ID.

        [Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot

        J Offline
        J Offline
        jagan123
        wrote on last edited by
        #3

        i mean that when the form is loaded scroll bar should come to the down instead of showing top by default

        V 1 Reply Last reply
        0
        • J jagan123

          i mean that when the form is loaded scroll bar should come to the down instead of showing top by default

          V Offline
          V Offline
          Venkatesh Mookkan
          wrote on last edited by
          #4

          jagadeeshkumar2106 wrote:

          i mean that when the form is loaded scroll bar should come to the down instead of showing top by default

          You can either use named anchor and call it. For Example, if your page name is "Default.aspx", add a named anchor at the end of the name as,

          <a name="page_end"></a>
          

          Now while redirecting call "Default.aspx#page_end" OR

          document.getElementById('MY_PANEL').scrollTop = MAXIMUM_SIZE;
          

          [Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot

          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