Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using master page a header(user control).I am using one dropdownlist in content page and a button in header .i need two form tags run @ server that is not possible.
I am accessing the value from of textbox on header through public property, I need this value for search purpose, on codebehind how I can achieve this is there any other way?
Posted

1 solution

You are correct, in asp.net you can't have two forms with runat=server. The question is why you need two forms or why the controls can't be in the same user control if they rely on each other. It seems you need to rethink your design
 
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