M
msnews.microsoft.com
This seems like it should be easy (and maybe it is) but I can't figure it
out.
I have a custom web control (derived from
System.Web.UI.WebControls.WebControl)
I'm in Grid Layout mode so at design time the HTML in the .aspx page looks
like this:
<cc2:CAUTreeView id="cautv" style="Z-INDEX: 101; LEFT: 16px; POSITION:
absolute; TOP: 224px" runat="server" Width="50px"></cc2:CAUTreeView>
In my override of Render I want to get the style attribute so I can output
the same positioning information so the control renders in the exact spot
that it was designed in. I can't find any way to get at this at run-time.
Any ideas?
</joel>
out.
I have a custom web control (derived from
System.Web.UI.WebControls.WebControl)
I'm in Grid Layout mode so at design time the HTML in the .aspx page looks
like this:
<cc2:CAUTreeView id="cautv" style="Z-INDEX: 101; LEFT: 16px; POSITION:
absolute; TOP: 224px" runat="server" Width="50px"></cc2:CAUTreeView>
In my override of Render I want to get the style attribute so I can output
the same positioning information so the control renders in the exact spot
that it was designed in. I can't find any way to get at this at run-time.
Any ideas?
</joel>