How to render a multiline text box so that it displays the last line of text ?
Posted on 2008-11-16
I am a rookie in asp.net , C# and using Visual Studio 2008 . In my program I am using a multi-line text box to display a chat conversation . Its working fine. But when the text in it overruns the size of the textbox set at design time , the textbox is rendered (on click of a button) such that it displays only the first few lines of textbox . And i have to scroll down to see the latest line in the conversation. Is there any way that when i press the button(send) the textbox opens such that it is displays the last lines of the text and i dont have to scroll down ?
Is it possible or would i have to make a custom control?