asp .net 2.0问题 [英] asp .net 2.0 question

查看:68
本文介绍了asp .net 2.0问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,

晚上好,

我正在开发一个在线图表应用程序.我使用ajax更新面板来检索消息.的消息到达滚动条上方的文本框,因为文本区域总是由更新面板刷新.因此,我需要在文本末尾(任何时候向下或在文本的最后位置向下)滚动条的文本框.
如何在asp 2.0中的textbax中的文本末尾设置滚动条?

谢谢
Debapriya

Dear Sir,

very good evening,

I am devlope an application of online charting.I am use ajax update panel to retrive the message.When the no. of message come to the textbox the scroller at the upper position because the textarea refresh always by update panel.So I need a textbox of scrollbar at the end of the text(down anytime or at last position of text).
how to set scrollbar at the end of the text in the textbax in asp 2.0?

Thanking You,
Debapriya

推荐答案

您的意思是-在文本框的结尾"?

asp:TextBoxTextMode属性更改为MultiLine.您还可以设置Rows属性以显示所需的行(高度).

滚动条将自动添加,并且如果文本增加了给定的区域,滚动条将被激活.
What do you mean by - "at the end of the textbox"?

Change the TextMode property of the asp:TextBox to MultiLine. You may also set the Rows property to show required rows (height).

A scroll bar will be automatically added and if the text increases the given area, the scroll bar will get active.


这篇关于asp .net 2.0问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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