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. ASP panel control

ASP panel control

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

    i have a panel which has auto ScrollBar i have two buttons having text "MoveUp" and MoveDown Respectivelly what i want to achieve is on clicking MoveUp the panel is scrolled up by one (some) unit and on clicking the movedown button the pannel should scroll one unit down. waiting for kind reply

    A 1 Reply Last reply
    0
    • W waheed awan

      i have a panel which has auto ScrollBar i have two buttons having text "MoveUp" and MoveDown Respectivelly what i want to achieve is on clicking MoveUp the panel is scrolled up by one (some) unit and on clicking the movedown button the pannel should scroll one unit down. waiting for kind reply

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      Call this function in OnClientClick of MoveDown button. function ScrollDownPanel() { var pnlScroll=document.getElementById('pnlScroll'); pnlScroll.scrollTop=parseInt(pnlScroll.scrollTop)+50; return false; } For moving up add unit in the scrollTop.

      Arun J

      W 1 Reply Last reply
      0
      • A Arun Jacob

        Call this function in OnClientClick of MoveDown button. function ScrollDownPanel() { var pnlScroll=document.getElementById('pnlScroll'); pnlScroll.scrollTop=parseInt(pnlScroll.scrollTop)+50; return false; } For moving up add unit in the scrollTop.

        Arun J

        W Offline
        W Offline
        waheed awan
        wrote on last edited by
        #3

        I DID IT but there is a problem if i place an alert before this it works otherwise it donot.......... i have checked the value of scroll top changes even if i donot place alert but visualy the scroll position do not v=change

        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