Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Teena 44 posts 64 karma points
    Sep 30, 2010 @ 20:21
    Teena
    0

    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:

    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?

    Thanks in advance for any suggestions.

  • Lennart Stoop 304 posts 842 karma points
    Sep 30, 2010 @ 20:43
    Lennart Stoop
    0

    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

  • Tizer 170 posts 201 karma points
    Oct 01, 2010 @ 01:12
    Tizer
    0

    I'd bet its the above Teena - I had exactly the same problem a while back

Please Sign in or register to post replies

Write your reply to:

Draft