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 can I programmatically scroll down the DIV tag to selected item?

How can I programmatically scroll down the DIV tag to selected item?

Scheduled Pinned Locked Moved ASP.NET
questioncsscom
6 Posts 5 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.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    I am using following code for data grid to scroll, When ever user select an item from a data grid a post back event is fired. I am changing the color of selected item on item command event. How can I programmatically scroll down the DIV tag to selected item?r00d0034@yahoo.com -- modified at 9:22 Tuesday 21st March, 2006

    T N I 3 Replies Last reply
    0
    • I imran_rafique

      I am using following code for data grid to scroll, When ever user select an item from a data grid a post back event is fired. I am changing the color of selected item on item command event. How can I programmatically scroll down the DIV tag to selected item?r00d0034@yahoo.com -- modified at 9:22 Tuesday 21st March, 2006

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      You can set the focus to that item. "People who never make mistakes, never do anything." My Blog

      I 1 Reply Last reply
      0
      • T ToddHileHoffer

        You can set the focus to that item. "People who never make mistakes, never do anything." My Blog

        I Offline
        I Offline
        imran_rafique
        wrote on last edited by
        #3

        lets say if i have an item object then how can i set focus to it? r00d0034@yahoo.com

        H 1 Reply Last reply
        0
        • I imran_rafique

          lets say if i have an item object then how can i set focus to it? r00d0034@yahoo.com

          H Offline
          H Offline
          HimaBindu Vejella
          wrote on last edited by
          #4

          U can use java script to focus an object "Aim to go where U have never been B4 and Strive to achieve it" http://groups.yahoo.com/subscribe/dotnetforfreshres http://himabinduvejella.blogspot.com

          1 Reply Last reply
          0
          • I imran_rafique

            I am using following code for data grid to scroll, When ever user select an item from a data grid a post back event is fired. I am changing the color of selected item on item command event. How can I programmatically scroll down the DIV tag to selected item?r00d0034@yahoo.com -- modified at 9:22 Tuesday 21st March, 2006

            N Offline
            N Offline
            Nagraj Naik
            wrote on last edited by
            #5

            Hi, Use this div code for scrolling purpose "

            " I hope it help you, "Each problem come with its solution":rose: -- modified at 2:41 Wednesday 22nd March, 2006

            1 Reply Last reply
            0
            • I imran_rafique

              I am using following code for data grid to scroll, When ever user select an item from a data grid a post back event is fired. I am changing the color of selected item on item command event. How can I programmatically scroll down the DIV tag to selected item?r00d0034@yahoo.com -- modified at 9:22 Tuesday 21st March, 2006

              I Offline
              I Offline
              Ista
              wrote on last edited by
              #6

              DataGrid.SelectedItem this will scroll down the item 1 line of code equals many bugs. So don't write any!!

              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