Wrox Programmer Forums
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 14th, 2003, 02:10 PM
Registered User
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to gmachado Send a message via MSN to gmachado
Default Limiting a TextBox MultLine


I´m would like to limit the number of caracters for a textbox in multiline mode.

I know that the property maxlength doesnt work with multiline!!

I´m trying to use the textarea componente with javascript function, but I still with a trouble: How Can I atribute the context of a textarea for a textbox and reverse it. Because I need to return data from a Data Base from this TextArea, then I think that I need first return data to a textbox for after put this to textarea! but I dont´know how can I do this? Somebody else can help me?


Best Regards,

Gustavo M Rodrigues

Gustavo Machado Rodrigues
  Analista de Sistemas
Old November 2nd, 2003, 12:04 AM
Authorized User
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sempf

Have you considered the use of a Validation control, perhaps the Regular Expression control, and just informa the user when the control it tabbed from? The only other option is to count the keystrokes using javascript, which is slow and messy.

Bill Sempf
Effective Visual Studio .NET

Similar Threads
Thread Thread Starter Forum Replies Last Post
limiting/hiding records w/null values louisvillelivin Crystal Reports 0 February 5th, 2007 10:43 AM
Limiting Document Versions dasani20oz SharePoint Admin 1 October 23rd, 2006 03:55 PM
Bandwidth Control or Limiting using JSP draggy Pro JSP 3 July 21st, 2006 02:58 PM
Listing and limiting items from a database RPG SEARCH ASP.NET 1.0 and 1.1 Basics 11 August 3rd, 2004 04:37 PM
Limiting MySQL data maedhros Beginning PHP 1 August 2nd, 2003 07:00 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.