rodchar wrote:
hey all,
is there a way to say getElementById on the server side or is setting the
html control as runat="server" the way to go?
i'm just trying to get to a div and add controls to it.
thanks,
rodchar
Everything in the markup code is handled as server controls. The html
code that doesn't have runat="server" is handled as text in
LiteralControl controls.
You could theoritically look for the element in the literal controls of
the page, but that's not practical. Put runat="server" in the div so
that it becomes a server control in itself, or put a PlaceHolder inside
the div to add the controls in.
--
Göran Andersson
_____
http://www.guffa.com