CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Textarea Line breaks

Print topic Send  topic

Author Message
Kurt
Posted: 03/16/2005, 10:52 AM

Hello,

First, sorry for my english. Is really poor T_T

Well, how can I replace the line breaks of a textarea for a <br>? To show it in a grid in HTML Content, in ASP.

Sorry again, my english sucks :-(

Thank you!

Kurt
mrachow


Posts: 509
Posted: 03/17/2005, 12:30 AM

<YourForm>.<YourControl>.Value = replace(<YourForm>.<YourControl>.Value, VbLf, "<br>")
Plus, you have to set property Content of that control to HTML.

_________________
Best regards,
Michael
View profile  Send private message
Kurt
Posted: 03/17/2005, 6:55 AM

Thank you, Michael!

But... where I must write this code? :-/

Kurt
Kurt
Posted: 03/17/2005, 7:08 AM

Oh, that's ok! It works!

Thank you very much, Michael!

Kurt

PS: I need learn a lot of ASP... :-/

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.