472,345 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

carriage return in web textbox

VMI
If I want to separate a string in a web textbox so that it takes several
lines, how can do it?
In a Windows textbox, I only needed to add the "\r\n" to the string for the
carriage return. Apparently it's not the same with the web textbox.

Thanks.
Nov 17 '05 #1
1 2086
Hi,

Yes, it's

post some code, you are using a textbox or a TextArea ?

if you are using the webcontrol then you have to use TextBox.TextMode =
TextMode.Multiline; then it will generate a textarea instead of a "input
type=text" in the client

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"VMI" <vo******@yahoo.com> wrote in message
news:uo**************@TK2MSFTNGP15.phx.gbl...
If I want to separate a string in a web textbox so that it takes several
lines, how can do it?
In a Windows textbox, I only needed to add the "\r\n" to the string for
the carriage return. Apparently it's not the same with the web textbox.

Thanks.

Nov 17 '05 #2

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

Similar topics

5
by: aw | last post by:
Hi MVP's, I have a VB expression that inserts text in a report's textbox: (code in report's On-Active) If not isnull(forms!myform!subject1)...
2
by: Abhi | last post by:
I have a simple Combo box on my Form, Data in it is Coming from database, Data is stored in database Through a form where i am using Textbox to enter...
1
by: Steve | last post by:
I have a simple form with a textbox and a command button, both web form controls (not raw HTML controls). I notice that when the user enters text...
7
by: Nathan | last post by:
How do you code a carriage return in a textbox? For example, Txtbox1.Text = "My address:" & ?CarriageReturn? & "555 Maple" & ?CarriageReturn? &...
2
by: senfo | last post by:
Hello all, To help alleviate human error, I'm developing an application that uses a barcode reader to fill in a value in a TextBox control. The...
2
by: dancer | last post by:
Using ASP.Net and VB.net I have textboxes (<asp:textbox id......>) in which the user will be entering paragraphs. They are multiline (several...
3
by: HockeyFan | last post by:
I've done this before by trapping keydown and checking for a CR, and then clicking a particular button based on which textbox the event happened. ...
11
by: evenlater | last post by:
My db allows the user to send email via CDO. The body of the email is determined in code. I have built an email form with To, CC and Subject lines...
7
by: satyabhaskar | last post by:
hi all, In my web page i have 3 text boxes and one submit button...Actually my problem is how do i focus on 2nd text box upon (pressing enter...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

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.