Curt
I build all pages dynamically, and would like, for instance, put some ASP
radio buttons into a group box. I just learned, that I could use FILEDSET as
a container to hold my radio buttons. This works when createing a static
page, but I don't know how to add HTML controls (NOT ASP controls)
dynamically to my page, or how do wrap the code below into HTML opening and
ending tags like <fieldset>...</fieldset>?
RadioButton rbt as new RadioButton();
rbt.Text = uctl.text;
rbt.ID = "ID1";
rbt.Style.Add("style", "Z-INDEX: 100; POSITION: absolute; LEFT: " +
Str(uctl.location.X * zoom) + "px; TOP: " + Str(iTitleHeight + TopOffset +
uctl.location.Y) + "px");
pnl.Controls.Add(rbt);
Any hints? Thanks. Urs.
"Curt_C [MVP]" <software_AT_darkfalz.com> schrieb im Newsbeitrag
news:e$**************@TK2MSFTNGP11.phx.gbl...
could you be more specific? What is it you are trying to load?
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Urs Vogel" <uv****@msn.com> wrote in message
news:uP**************@TK2MSFTNGP10.phx.gbl... Hi
how do I add HTML elements dynamically to my page? Is there some similar
way like with ASPX controls, or do I have to render them out in a custom
control?
Thanks, Urs