I found another form in the template, then i removed that form.Now its showing user controle,but the submit button is not working,I am using Xe converter in that usercontrole..
Are you using Umbraco 7? If so...have you made the switch from MVC (Which is default in Umbraco 7) to Webforms in the /config/umbracoSettings.config file?
Otherwise it won't be able to submit if you're using user controls in MVC mode.
A page can have only one server-side Form tag
Hello Friends,
I am using an user controle which containing a form controle, When I try to use this user controle it shows this error
A page can have only one server-side Form tag..
Is there any way to use this usercontrole in my template..?
Please help me..
Regards,
Shafeeq
You probably have a form tag somewhere in your template. Asp.NET webforms only allows one form tag per page.
Dave
Hai Dave,
I couldnot see any other forms in my templates..but my usercontrole is placed inside a content placeholder in master page.
Can you post the code of your usercontrol and master page ?
I found another form in the template, then i removed that form.Now its showing user controle,but the submit button is not working,I am using Xe converter in that usercontrole..
<form name="ucc" method="get" action="http://www.xe.com/currencyconverter/convert" runat="server">
</form>
Hi Shafeeq
Are you using Umbraco 7? If so...have you made the switch from MVC (Which is default in Umbraco 7) to Webforms in the /config/umbracoSettings.config file?
Otherwise it won't be able to submit if you're using user controls in MVC mode.
/Jan
Aaah, did not notice the category was already "Umbraco 7". So the question is if you are using MVC or Webforms.
Cheers, Jan
I am using Webforms...Umbraco v6.1.6
Hi Shafeeq.
If want to post to a external site you don't need the runat server attribute
dave
Thank you Dave..That changes worked for me..
is working on a reply...