T
Test Message
I need to dynamically add an html control to a web form.
What I have, thus far, adds the control to the page, but only places it
after the closing "</html>" tag.
System.Web.UI.HtmlControls.HtmlInputHidden h = new HtmlInputHidden();
h.ID = "FIELD1";
h.Value = "Value1";
Page.Controls.Add (h);
Is there a way to have the control added inside the "<form>" tags?
Thanks,
Scott Natwick
What I have, thus far, adds the control to the page, but only places it
after the closing "</html>" tag.
System.Web.UI.HtmlControls.HtmlInputHidden h = new HtmlInputHidden();
h.ID = "FIELD1";
h.Value = "Value1";
Page.Controls.Add (h);
Is there a way to have the control added inside the "<form>" tags?
Thanks,
Scott Natwick