carriage return in web textbox

  • Thread starter Thread starter VMI
  • Start date Start date
V

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.
 
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,
 
Back
Top