Render an asp.net control from a text string
Posted
by madness
on Stack Overflow
See other posts from Stack Overflow
or by madness
Published on 2010-03-18T14:49:45Z
Indexed on
2010/03/18
14:51 UTC
Read the original article
Hit count: 409
Hi All,
I'm not sure if it is possible to render an asp.net control from a string. The string contains fragments of html code and I've tried rendering that string to a div tag with runat="server" set, asp panel contain, asp lalbel control and asp literal control. All of them doesn't render the asp control in that text to an actual control, it just come up as a string. I've tried adding <% %> around them and it appears it doesn't like it.
Thanks in advance.
© Stack Overflow or respective owner