Copied to clipboard

Flag this post as spam?

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


  • sewi 15 posts 35 karma points
    Oct 15, 2009 @ 19:19
    sewi
    0

    cultiv contact form error

    Hi,

    i installed the Cultiv Contact Form package and it works as standalone.

    But when i use it with my masterpage i get

    A page can have only one server-side Form tag

    i removed the Form tags in the cultivcontactform.aspx but now i get

     

    Control 'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_ContentPlaceHolder_CultivContactForm_2__contactName'
    of type 'TextBox' must be placed inside a form tag with runat=server

     

    any Ideas?

    greetz

    Sewi

  • Masood Afzal 176 posts 522 karma points
    Oct 15, 2009 @ 20:04
    Masood Afzal
    0

    Have you checked ascx file for cultiv contact form control? You may need to remove <form> tag from control if this is present in masterpage

     

  • Frederik Vig 29 posts 61 karma points
    Oct 15, 2009 @ 20:36
  • sewi 15 posts 35 karma points
    Oct 16, 2009 @ 11:04
    sewi
    0

    Yes i know but i didin't found a solution yet.

    Removing the form tag i get an error that textbox must be inside a form tag

  • Rich Green 2246 posts 4008 karma points
    Oct 16, 2009 @ 11:10
    Rich Green
    0

    Are you sure you've got a form runat server tag in your master page?

  • sewi 15 posts 35 karma points
    Oct 16, 2009 @ 11:39
    sewi
    0

    Part of my Masterpage:

    <div id="content">
               
    <div class="clearall"></div>
               
    <form id="Contentwindow" runat="server" />
                   
    <asp:ContentPlaceHolder id="ContentPlaceHolder" runat="server"></asp:ContentPlaceHolder>
               
    </form>
     
    </div>

    is it possible to make a masterpage without that form tags and use templates under the masterpage - if yes it is new for me.

  • sewi 15 posts 35 karma points
    Oct 19, 2009 @ 10:12
  • Md Johirul Islam 37 posts 57 karma points
    Oct 19, 2011 @ 10:51
    Md Johirul Islam
    0

    Please i have same problem . show me how do i solve this problem. Thank you (" !  A page can have only one server-side Form tag ")

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies