3
Answers

maintain horizontal scroll position on autopostback inside

Photo of Thavaselvan P

Thavaselvan P

9y
608
1
Hi,
 
i'm having 15 columns in the grid, some of the column value is depend on the another one.
For that i've used updated panel  and autopostback for the source control.
 
Eg.
 
DDL 2 is depend on the txtbox 1
for that i've added autopost back for textbox1 (i.e during autopost back of txtbox will populate the values in ddl2)
 
here the during this autopostback the horizontal scroll inside the grid  is getting reset .
 
can you pls help me on this  

Answers (3)

0
Photo of Suthish Nair
NA 31.7k 4.6m 14y
query got resolved?
0
Photo of Sam Hobbs
NA 28.7k 1.3m 14y

Questions about ASP applications are supposed to be put in the ASP forum. If this is not for an ASP application then are you sure it is a datagrid ?
 
Oh, now I see; you have a space between datagrid and view. Is this for a DataGridView control in a desktop application? Is the control bound to the data?
0
Photo of Suthish Nair
NA 31.7k 4.6m 14y