Referencing Html Controls
I need to set the InnerHtml of a HTML control but need to do it dynamically...
I have:
<p id="P1" runat="server" />
and I want to:
P1.InnerHtml = "This is some Text"
But I need to do it dynamically like...
Page.Controls("P1").InnerHtml = "..."
This of course does nto work...
Is there a way to do this?
-------------------------
Beware of programmers with screwdrivers...
__________________
-------------------------
Beware of programmers with screwdrivers...
|