UserControls and multiple form tags
Hey all
Hope you can help.
I am placing various UserControls on a page. The page has a form control on it and I dynamically add the controls using, LoadControl & RenderControl. then adding them with addliteral.
Problem now is that if I dont have the form tags within the control itself, but it wont render becuase it says it needs to be in form tags. so then add them to the control itself but then end up with more than one form tag on a page...
Does anyone have an idea, how I can render the control. and add it to the page. but using only one form tag within the origonal page?
Cheers.
|