navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Display Memo Field

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> Display Memo Field
Page: [1]
 
jgport

 

Posts: 1
Joined: 7/30/2007
Status: offline

 
Display Memo Field - 7/30/2007 15:51:56   
I am trying to display a memo field using Expression Web and ASP.NET. The ASP.NET control I am using is detailsview. The memo field is from an Access database and has multiple lines. The field is displayed however the entire memo field is displayed on a single line. It appears that the newline characters need to be converted to an HTML <br>. Is there an easy way to do this in EW.

Thanks,

Jim
WantToLearn

 

Posts: 109
Joined: 10/19/2002
Status: offline

 
RE: Display Memo Field - 7/30/2007 18:11:29   
One way is to convert the details view memo field into a Template Field and then use a custom databinding expression, like so:

<%# eval("memofieldname").Replace(Chr(13), "<br>") %>

(in reply to jgport)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> Display Memo Field
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts