473,382 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Which Type of Control To Use

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!
Nov 19 '05 #1
3 950
You might consider a third party solution such as these:
http://www.textboxpro.net/demo/default.aspx
http://www.richtextbox.com/richtextbox/

Or here are a couple free options:
http://www.exporttechnologies.com/softwareDownloads.asp
http://www.interactivetools.com/products/htmlarea/
http://www.freetextbox.com/

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Johnson" <JM**@SpamThis.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
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!

Nov 19 '05 #2
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/
----------------------------------
Making waves on the Web
"Johnson" <JM**@SpamThis.com> wrote in message
news:#a**************@TK2MSFTNGP15.phx.gbl...
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!

Nov 19 '05 #3
Thanks Rick! Very useful stuff you have posted.

"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl...
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/
----------------------------------
Making waves on the Web
"Johnson" <JM**@SpamThis.com> wrote in message
news:#a**************@TK2MSFTNGP15.phx.gbl...
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!


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ryan Liu | last post by:
I have a user control, it must set a property when it is just created, so I set it in its constructor, which has an parameter to specify the property . For example: public class ExecQuest :...
4
by: mflll | last post by:
I am looking into the different techniques of handling arrays of edit boxes in Java Script. The first program below works fine. However, are there better ways of doing this, where the person...
3
by: Angus | last post by:
I have a web page with a toolbar containing a Save button. The Save button can change contextually to be a Search button in some cases. Hence the button name searchsavechanges. The snippet of...
50
by: Juha Nieminen | last post by:
I asked a long time ago in this group how to make a smart pointer which works with incomplete types. I got this answer (only relevant parts included): ...
0
by: cdelautour | last post by:
Hi there, I am currently working with the property grid and I am implementing an indexed category system (sorts categories via index before alphabetically). I should say that at this point my...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.