D
Daniel
Hi all,
i would like to load a usercontrol dynamically in a web page.
this uc contains some buttons.
because the page itself also contains button elements, the error
"A page can have only one server-side Form tag. "
is raised.
when i dont use a formn within the uc anothr exception:
"'Button' must be placed inside a form tag with runat=server."
is raised
is there a way to load the user control in the form of the page so that
i don't need another form for the buttons ion the uc?
or any other way to use buttons within a uc?
thanks in advance for any help.
daniel
i would like to load a usercontrol dynamically in a web page.
this uc contains some buttons.
because the page itself also contains button elements, the error
"A page can have only one server-side Form tag. "
is raised.
when i dont use a formn within the uc anothr exception:
"'Button' must be placed inside a form tag with runat=server."
is raised
is there a way to load the user control in the form of the page so that
i don't need another form for the buttons ion the uc?
or any other way to use buttons within a uc?
thanks in advance for any help.
daniel