I have a WebUserControl(having a form tag ) in which am using <asp:Image> tag
And i used this WebUserControl in my master page


but when i use a index.aspx page(having a form tag) with this master page
the error occurs "multiple form tag on a page".

What should i do , to do the same process.
Is there any other alternative.

You could change the form tag that is in your masterpage to a normal html form such as

<form method="post" action="somepage.aspx">

You could change the form tag that is in your masterpage to a normal html form such as

<form method="post" action="somepage.aspx">

my form tag must use runat="server"

I dont think it is possible to use two runat="server" form tags on the same page unless you are able to use the visible tag to hide one of them

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.