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. Advertisements

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:
    1,273
    John C. Bollinger
    Jan 27, 2006
  2. Replies:
    2
    Views:
    675
    Bergamot
    Jul 25, 2007
  3. Fulio Open

    Can span include span?

    Fulio Open, Jun 26, 2009, in forum: HTML
    Replies:
    5
    Views:
    800
    dorayme
    Jun 26, 2009
  4. Stéphane Klein
    Replies:
    2
    Views:
    2,213
    John Nagle
    Mar 30, 2010
  5. TS
    Replies:
    3
    Views:
    1,724
    Steven Cheng[MSFT]
    Jul 18, 2007
  6. Dan Bishop

    DataGrid (body only) contained in <span>...</span> tags

    Dan Bishop, Jun 7, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    511
    Kilic Beg
    Jun 7, 2004
  7. Li Chen
    Replies:
    2
    Views:
    228
    Li Chen
    Mar 4, 2010
  8. Wang, Jay
    Replies:
    5
    Views:
    821
    Wang, Jay
    May 25, 2004
Loading...