I have just moved the syntax <form runat="server"> from around a particular control on a secondary template to the master template just after/before the opening/closing body tags so that we could use multiple form controls on the site.
Once done, the site still returns the following error:
A page can have only one server-side Form tag.
To ensure I had indeed removed all other instances of the server side form tag, I pulled down all the files in the masterpages folder and did a source code search for form runat="server". Only one result was returned, the entry I have just moved to the mastertemplate.
The site uses this template structure:
Am I searching for the wrong syntax? Is there some other variable at play?
mysterious invisible server side form error
Hi!
I have just moved the syntax <form runat="server"> from around a particular control on a secondary template to the master template just after/before the opening/closing body tags so that we could use multiple form controls on the site.
Once done, the site still returns the following error:
To ensure I had indeed removed all other instances of the server side form tag, I pulled down all the files in the masterpages folder and did a source code search for form runat="server". Only one result was returned, the entry I have just moved to the mastertemplate.
The site uses this template structure:
Am I searching for the wrong syntax? Is there some other variable at play?
Thanks in advance for any suggestions.
Hi Teena,
Is it possible that your template uses a macro related to an XSLT or .NET user control which also includes a form runat="server" tag?
For this to find out, you may also want to verify the files within these folders: usercontrols & xslt
Grtz
Lennart
I'd bet its the above Teena - I had exactly the same problem a while back
is working on a reply...