文本框在更新面板中向上滚动 [英] textbox scrolls up in update panel

查看:82
本文介绍了文本框在更新面板中向上滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


问候,

我正在使用一个更新面板,其中我正在使用一个多行true文本框,并且在触发时我还具有一个计时器控件(在更新面板之外),这只会将数据库中的数据带入并附加到文本框中.

我正在AsyncPostBackTrigger中触发计时器.

计时器滴答声每1.5秒发生一次.

发生的事情是当计时器滴答事件触发时,文本框向上滚动到顶部.

我希望文本框滚动设置为自由,因为用户可以滚动到他/她想要的位置"

请做有需要的人.

感谢您的问候,
Nishant.

Hi,
Greetings,

I am having a update panel in which i am taking a textbox which is multiline true & i am also having a timer control(outside the update panel) when triggered will just bring the data from database & append to the textbox.

I am triggering the timer in AsyncPostBackTrigger.

Timer tick is happening every 1.5 sec.

What the thing is happening is when the timer tick event fires then textbox scrolls up to the top.

"I want the textbox scroll to set to free as user can scroll to what so ever position he/she wants"

Plz do the needful.

Thanks with Regards,
Nishant.

推荐答案

以下文章应为您提供帮助: ^ ]
Following article should help you out: JavaScript Access to Page Controls after Ajax Update (via Update Panel)[^]


这篇关于文本框在更新面板中向上滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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