Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASCX Arbitrary HTML blob insertion
Message
General information
Forum:
ASP.NET
Category:
Web forms
Environment versions
Environment:
ASP.NET
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01351190
Message ID:
01352015
Views:
25
>Paul,
>
>FWIW
>
>
><asp:Literal ID="litHeader" runat="server"></asp:Literal>
>
>// with this C# code in Page_Load
>litHeader.Text = sQueryParms.Replace( "|", "<br>" );
>
>
>does exactly what I need it to do.
>
>>I tend to just use a label for this kind of thing. Generate the string then set the labels .Text property to it. You can wrap it with some <pre> tags if you don't want the browser screwing with the layout.

Interesting - so the extra bit of span tag stuff that a label adds was an issue? Was the final output meant for real users or another app?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform