Last post Jun 09, 2009 11:28 PM by casajr
Jun 09, 2009 06:18 PM|casajr|LINK
I need to put line breaks in the product description. I'm using XML for now. My product descriptions use bullet points, so I need line breaks. I guess this would also apply to multi-paragraph descriptions. For Example, I would like to see
- Feature 1
- Feature 2
What I get now is Description -Feature1 -Feature2.
I have tried \n\r in the description, but they get displayed litterally (Description\n\r-Feature1\n\r-Feature2). I have also tried <br />, but that gives me a configureation error.
Is this something that must be done in VB? If so, how. I need the line breaks, I hope someone can help.
Small Business Starter Kit
Jun 09, 2009 06:30 PM|Nowman|LINK
what is the container that you are pushing this test to? a label?
try Environment.NewLine, <br />, <br>, \v, (char)11, or \r\n and see if any work.
if not let me know what the configuration error is.
Jun 09, 2009 10:56 PM|casajr|LINK
Thank you for replying. However, I'm not sure how to properly answer your question.
The data string is in an xml file which is read by a .aspx file. The item Description is read by an EVAL command within asp:DetailsView. Code is below.
I'm wondering if something different than EVAL should be used. I'm wondering how to change the text from green back to black.
Jun 09, 2009 11:28 PM|casajr|LINK
OK, I fixed it. The solution is to change the