Dymanically rendering html to an aspx form

C

Clive

Hi,

I generate a serious of hidden fields that have Database
IDENTITY values as their value.

This HTML is contained in a String.

On my ASPX Page I then do a <%=strHTML%> in order to
write them out.

I know that this is not the correct way of doing this as
teh <%%> are only for backward compatability.


Any ideas? Maybe use a placeholder and parse the html out
to a placehodler.

Any replies/help/direction is much appreciated.

Thanks,
Clive.
 
J

John Saunders

Clive said:
Hi,

I generate a serious of hidden fields that have Database
IDENTITY values as their value.

And what happens next? You render this HTML ... and then what happens? This
will determine the "best" way to do this in ASP.NET.
 
J

Jerry III

Label generates <span> element. To output just the text use literal control.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top