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

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -