Link to home
Start Free TrialLog in
Avatar of hemantn
hemantn

asked on

two form tags in asp.net

I have a aspx page where i have written a  programme for search (just like on normal web site ) but i cannt add it to my all other pages because all other pages also have form tags in it

and when i include the searchWebForm.aspx  (which also contain form tag control) into all other forms gives error" A page can have only one server-side Form tag " , i can understand in a web form there can be only one form tag but never the less i have to include in other web forms too to function

in Earlier asp version we can have many form tags , but in asp.net need a solution urgently

Thanks in advance

ASKER CERTIFIED SOLUTION
Avatar of merhi2405
merhi2405

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Deepak Vasudevan
Deepak Vasudevan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hemantn
hemantn

ASKER

well DeepakNet i will try your solution but dont think it will work

Also i have mentioned that SearchWebForm.aspx is included in all other pages neither the form tags and neither the code return in codebehind works because of the page directive can have only one reference of codebehind file since i am including it to all othe pages means two reference of codebehind *.vb

So is there any solution for these even