在autopostback里面保持水平滚动位置 [英] maintain horizontal scroll position on autopostback inside

查看:79
本文介绍了在autopostback里面保持水平滚动位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在网格中有15列,其中一些列值取决于另一列。

为此我已经使用更新的面板和自动回复作为源代码控制。



例如。



DDL 2依赖于txtbox 1

因为我为textbox1添加了autopost(即在txtbox的autopost后面将填充ddl2中的值)



这里在此autopostback期间,网格内的水平滚动正在重置。



你能不能帮我这个

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

推荐答案

hi thavaselvan





试试以下链接

< a href =http://gridviewscroll.aspcity.idv.tw/Demo/Advanced.aspx#MaintainScrollPosition> http://gridviewscroll.aspcity.idv.tw/Demo/Advanced.aspx#MaintainScrollPosition [< a href =http://gridviewscroll.aspcity.idv.tw/Demo/Advanced.aspx#MaintainScrollPositiontarget =_ blank title =新窗口> ^ ]
hi thavaselvan


try this below link
http://gridviewscroll.aspcity.idv.tw/Demo/Advanced.aspx#MaintainScrollPosition[^]


这篇关于在autopostback里面保持水平滚动位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆