This should be really simple! However, when I move text from a SQL varchar(500) field to an over-sized UI textbox on a web-page with the "Wrap" property set to "True", it does not wrap and puts the text on a single line. Um . . . Why isn't the Wrap property
letting the text wrap within the control?
Ron K.
------------------------------------------
The difference between fiction and reality is that fiction has to be credible. -- Mark Twain
I assume you are using an asp:textbox. The wrap property does nothing unless you set textmode=multiline which causes the control to render a textarea tag rather than an input tag and then support multiple lines and wrapping of text.
If this post answered your question please remember to 'Mark as Answer'!
Marked as answer by Ron Kunce on Feb 29, 2008 06:07 PM
Yes, Thank You! I had just discovered it myself and was just open this to add my resolution when I saw your quick reply. Thanks Again! I knew it had to be something simple, just didn't notice the textmode property until now. Oh Well, I least I get a
couple of posts added to my total!
Ron K.
------------------------------------------
The difference between fiction and reality is that fiction has to be credible. -- Mark Twain
Marked as answer by Ron Kunce on Feb 29, 2008 06:06 PM
Ron Kunce
Member
7 Points
38 Posts
Textbox wordwrap
Feb 29, 2008 05:44 PM|LINK
This should be really simple! However, when I move text from a SQL varchar(500) field to an over-sized UI textbox on a web-page with the "Wrap" property set to "True", it does not wrap and puts the text on a single line. Um . . . Why isn't the Wrap property letting the text wrap within the control?
------------------------------------------
The difference between fiction and reality is that fiction has to be credible. -- Mark Twain
bpag
Contributor
3517 Points
533 Posts
Re: Textbox wordwrap
Feb 29, 2008 06:01 PM|LINK
I assume you are using an asp:textbox. The wrap property does nothing unless you set textmode=multiline which causes the control to render a textarea tag rather than an input tag and then support multiple lines and wrapping of text.
siva_sm
Star
9409 Points
1375 Posts
Re: Textbox wordwrap
Feb 29, 2008 06:06 PM|LINK
Ron Kunce
Member
7 Points
38 Posts
Re: Textbox wordwrap
Feb 29, 2008 06:06 PM|LINK
Yes, Thank You! I had just discovered it myself and was just open this to add my resolution when I saw your quick reply. Thanks Again! I knew it had to be something simple, just didn't notice the textmode property until now. Oh Well, I least I get a couple of posts added to my total!
------------------------------------------
The difference between fiction and reality is that fiction has to be credible. -- Mark Twain