|
| |
|
|
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>") %>
|
|
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
|
|
|