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