Span form tag between two custom controls

Discussion in 'ASP .Net Web Controls' started by Martin Strojek, Nov 15, 2004.

  1. Hi,

    i'm getting in custom controls and found out that they are
    a good way to prevent <!-- #include tags in my page.
    But i have a problem to span the asp.net form tag over two controls.

    The starting form - tag is in my headercontrol which contains the
    html output up to the beginning of the content. the end tag is
    in another control which is placed after the content part of the page.

    On page load it says "Unexpected end of file looking for </form> tag."
    Is there a workaround?
    Unfortunately i need the opening form tag in the header because my
    navigation contains some search field and LinkButtons.

    Any suggestions?

    Thanks & best regards
    Martin
    Martin Strojek, Nov 15, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shruds
    Replies:
    1
    Views:
    708
    John C. Bollinger
    Jan 27, 2006
  2. Fulio Open

    Can span include span?

    Fulio Open, Jun 26, 2009, in forum: HTML
    Replies:
    5
    Views:
    529
    dorayme
    Jun 26, 2009
  3. Stéphane Klein
    Replies:
    2
    Views:
    1,724
    John Nagle
    Mar 30, 2010
  4. Stefan Behnel
    Replies:
    0
    Views:
    470
    Stefan Behnel
    Mar 29, 2010
  5. Wang, Jay
    Replies:
    5
    Views:
    447
    Wang, Jay
    May 25, 2004
Loading...

Share This Page