Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:872983
More Search Options
RSS Available
Matching Posts
Re: Need to Put Line Breaks in the Product Description.
OK, I fixed it. The solution is to change the <% # Eval( "Description" ) %> to <% # Eval( "Description" ).ToString().Replace(Environment.NewLine, "<br />" ) %> Thanks for pointing me in the direction of Environment.NewLine. I found a link that explains this fully. http://www.mikesdotnetting.com/Article.aspx?ArticleID=20
Posted to
Small Business Starter Kit
(Forum)
by
casajr
on 6/9/2009
Re: Need to Put Line Breaks in the Product Description.
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. < div id ="content-main-three-column"> < asp : ObjectDataSource ID ="ObjectDataSourceItem" runat ="server" SelectMethod ="GetItem" TypeName ="Catalog"> < SelectParameters > < asp : QueryStringParameter
Posted to
Small Business Starter Kit
(Forum)
by
casajr
on 6/9/2009
Need to Put Line Breaks in the Product Description.
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 Product Name Description - 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
Posted to
Small Business Starter Kit
(Forum)
by
casajr
on 6/9/2009
Filed under: small busines, small business, Small Business Starter Kit, smallbusiness database, XML
Adding Additional Atributes to Items - Need some hand holding
I need to modify the Items to add things like size, reference URL's, additional pictures, etc. To do this, I added additional columns in Item.xsd and added copied the code (and changed the variable names) wherever the other parameters were passed. However, when I run the website, I crash and get a Column (variable) is Not a Member of Table Item error. I am assuming that the changes made to the Schema Item tables are not being recognized. I'm using XML and not SQL since I am not a programmer
Posted to
Small Business Starter Kit
(Forum)
by
casajr
on 6/1/2009
Page 1 of 1 (4 items)
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online