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. Controlling the Scorlling inside a table (ASP.NET)

Controlling the Scorlling inside a table (ASP.NET)

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-netsysadminhelp
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.
  • K Offline
    K Offline
    Karan_TN
    wrote on last edited by
    #1

    Currently i m using asp.net with c# (framework 2.0). in my page i have a datagrid with many dropdownbox. when user select a drop down value it goes to the first line and user again want to scroll down each time (here autopostback=true). HOW TO FREEZE THE SCROLLER.. below i have shown how i designed the table and the datagrid scrolling <->table<-> <->tr<-> <->td<-> <->div id="DIV1" runat="server"<-> -------DATA GRID WITH MANY DROP DOWN BOX------- <->/div<-> <->/td<-> <->/tr<-> <->/table<-> help me - KARAN

    B 1 Reply Last reply
    0
    • K Karan_TN

      Currently i m using asp.net with c# (framework 2.0). in my page i have a datagrid with many dropdownbox. when user select a drop down value it goes to the first line and user again want to scroll down each time (here autopostback=true). HOW TO FREEZE THE SCROLLER.. below i have shown how i designed the table and the datagrid scrolling <->table<-> <->tr<-> <->td<-> <->div id="DIV1" runat="server"<-> -------DATA GRID WITH MANY DROP DOWN BOX------- <->/div<-> <->/td<-> <->/tr<-> <->/table<-> help me - KARAN

      B Offline
      B Offline
      bcozican
      wrote on last edited by
      #2

      In the "<%@ Page >" tag of your page put the tag MaintainScrollPositionOnPostback="true". That will let the page return to its original scroll position after a postback. Hope this helps.

      K 1 Reply Last reply
      0
      • B bcozican

        In the "<%@ Page >" tag of your page put the tag MaintainScrollPositionOnPostback="true". That will let the page return to its original scroll position after a postback. Hope this helps.

        K Offline
        K Offline
        Karan_TN
        wrote on last edited by
        #3

        thanks for ur reply bcozian. but the coding which u mentioned is just controlling the page scroll. i need to control a particular gridview dropdownbox's which is placed inside a table. please go through my post exactly. waiting for your replies friends... help me - KARAN

        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