Which Type of Control To Use

  • Thread starter Thread starter Johnson
  • Start date Start date
J

Johnson

I want to let users enter text - multiple lines - up to about 800
characters. I want to preserve line breaks and white space, if possible, to
a database. In subsequent sessions, the users should be able to retrieve the
text and see it just as they had previously entered it (line breaks and
all).

Which control should I use?

Thanks!
 
Hi Johnson,

Some of the third party rich controls are pretty nice but they can also be a
pain to set up because it takes more than just plopping a simple control on
a form.

However, if you need only plain text there's no need for this sort of stuff.
If you're dealing with plain text have a look here:

http://west-wind.com/weblog/posts/1499.aspx

which has a few routines I commonly use to clean up text from user input.
You can just run that on the input from a TextBox/TextArea.

Regards,

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
http://www.west-wind.com/wwThreads/
 
Back
Top