|
| Globals.HtmlDecode tip for decoding HTML characters |
 |
Fri, 15 Dec 2006 18:17:56 +000 |
Thanks to Gold Forums member Unrelated for providing the following tip on
decoding HTML characters on web pages and controls without source modification.
Wrap output in a Globals.HtmlDecode() function.
-------------------
Ok, I fixed the Recent Post list bug through adding the Globals.HtmlDecode() in
the repeater.
<%#
Formatter.GetBodySummary(Globals.HtmlDecode(DataBinder.Eval(Container.DataItem,
"BestMatch").ToString()),350, "",
System.Drawing.Color.Black, System.Drawing.Color.Yellow) %>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|