0

Dear all,
I allow users to hit enter in my TextArea control (for address). The value is saved to SQL table.
I show data in child form in GridView. If users click GridView row, will display in parent form.
I get problem with address because it contains vbCrlf and JavaScript does not recognize it.

So, how do I change vbCrlf in HTML or JavaScript code ?
I have tried this one :
Replace(Row.Cells(6).Text.Trim, vbCrLf, "<BR>")

but appears in parent form like this Jl. Sudirman<BR>Jakarta

Thanks and Regards,

Kusno

2
Contributors
1
Reply
3
Views
10 Years
Discussion Span
Last Post by SheSaidImaPregy
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.