469,632 Members | 1,655 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.

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 1960
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Abhi | last post: by
7 posts views Thread by Nathan | last post: by
2 posts views Thread by senfo | last post: by
2 posts views Thread by dancer | last post: by
3 posts views Thread by HockeyFan | last post: by
11 posts views Thread by evenlater | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.