Dymanically rendering html to an aspx form

  • Thread starter Thread starter Clive
  • Start date Start date
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.
 
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.
 
Label generates <span> element. To output just the text use literal control.

Jerry
 
Back
Top