Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have no Master page currently and yet facing this problem "A page can have only one server-side Form tag." as if there is Master page in use.


Any help?

What I have tried:

Nothing because this problem usually comes when Form tag is twice defined in both Master page and other page related but in this case, i have used no Master page at all, just two pages default.aspx( as login page) and Homepage.aspx.
Posted
Updated 28-Feb-17 21:58pm
Comments
Karthik_Mahalingam 1-Mar-17 3:25am    
post the markup
Graeme_Grant 1-Mar-17 4:46am    
Without seeing your Html code, it is very difficult to give you a clear answer. Remember, we can't see your screen.

1 solution

That error isn't related to master pages, it's when you have two form tags with runat=server on the same page, so you must have that somewhere. The solution is to re-architect your page such that you only need one form, or you can still have multiple form tags, but only one can have runat=server, and they can't be nested.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900