Click to See Complete Forum and Search --> : Getting Around the 'A page can have only one server-side Form tag.' Error


Broodmdh
July 14th, 2005, 12:20 PM
What is the best way to get around this error? I would like to put a calendar on each of my pages, but some pages also require textboxes etc. These controls would lie in a different div than the calendar, which is why I run into this problem. Is there a good/easy way around it?

mmetzger
July 14th, 2005, 02:07 PM
If you're using ascx controls, don't put the form tag in them. It will require you to always put a form tag in the necessary aspx, but it does solve the problem from the ascx side.