asp.net - Adding form on page in ASP .Net -


im new in asp. i've created new c# simple web site. contain navigation menu , 2 pages. navigation menu like:

 <asp:menuitem navigateurl="~/default.aspx" text="home"/> 

and master page in form handle menu issues. i'm adding new web form contain

<form runat="server"> 

and when try open page on server writes me:

a page can have 1 server-side form tag. 

how should solve this? should use common form tag?!?

by default asp.net pages have <form> tag wraps entire page. if add further <form> tag end nested forms isn't allowed.

you can away dropping inner <form> tag.


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -