Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASCX Arbitrary HTML blob insertion
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Versions des environnements
Environment:
ASP.NET
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01351190
Message ID:
01352015
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform