Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > .NET Framework 1.x
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 11th, 2006, 08:39 AM
Authorized User
 
Join Date: Jan 2004
Location: Cluj-Napoca, Cluj, Romania.
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to adyrotaru
Default Scrolling into TextBox

Hi

I have a form with TextBox controls on it.
When some TextBox control receives focus, the entire text inside the textbox is selected.
Now, the problem is when the text is too long and it doesn't fit inside the textbox, the user will only see the last part of the text, that is, the content of the textbox scrolls to the end.
I need a method to scroll back the content to the beginning of the control, so that the user visualizes the first portion of the text.

Thanks.


__________________
smile... tomorrow will be better
Reply With Quote
  #2 (permalink)  
Old January 28th, 2006, 08:38 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi

u can use the asp:textbox and set the property "textmode" to "MultiLine"

and set the

  <asp:TextBox ID="Value2"
                    Columns="2"
                    MaxLength="3"
                    Text="1"
                    runat="server"
        textmode="MultiLine"
/>

hope this will help.

u can check out this link for more info

http://msdn.microsoft.com/library/de...classtopic.asp

Reply With Quote
  #3 (permalink)  
Old January 28th, 2006, 08:39 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

just a correction

<asp:TextBox ID="Value2"
                    Columns="20"
                    Rows="3"
                    Text="1"
                    runat="server"
        textmode="MultiLine"


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scrolling red_fiesta Classic ASP Professional 5 November 2nd, 2006 12:35 PM
scrolling carro123 Javascript How-To 0 June 6th, 2005 12:29 PM
Scrolling Textbox interrupt Javascript How-To 6 January 11th, 2005 10:29 AM
Masked TextBox & formatting TextBox melvik C# 1 September 22nd, 2003 11:01 AM
scrolling smn2 Classic ASP Professional 1 August 28th, 2003 06:57 AM



All times are GMT -4. The time now is 04:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.