More in this section
Forums / Bugs & Issues / Sitefinity conflicts with Google's Custom Search

Sitefinity conflicts with Google's Custom Search

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
4 posts, 0 answered
  1. Peter Boardman
    Peter Boardman avatar
    3 posts
    06 Jan 2010
    29 Jan 2010
    Link to this post

    I have implemented a Google Custom Search box on our website ( It works really great and displays the search results on a separate page (

    ...SO LONG AS...

    I disable the following form (by commenting it out)...

            <!-- <form id="mainform" runat="server"> -->

       website's code would go here...

            <!-- </form> -->

    Unfortunately, the is the <form> that surrounds the page's content and is necessary in order for the SiteFinity CMS editor to function. In other words, I can't edit page content when this form is hidden. However, when the form is hidden Google's Custom Search box works perfectly.

    I have tried all sorts of things but I can't have both working at the same time.

    Is this <form> tag really nesessary?
    Do I have another way to make this work?

    Thanks for you're help (in advance)


    Peter Boardman

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    29 Jan 2010
    Link to this post
    Hello Peter Boardman,

    The form tag is required with runat="server" attribute for aspx pages. I think that is the most proper place to see why the search makes conflicts with forms.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Nancy
    Nancy avatar
    35 posts
    10 Apr 2012
    04 May 2012
    Link to this post
    Does anyone know if this is still a problem with Sitefinity 5? I'm guessing it would be since the whole page is still a form.I am just getting started on a site and I know the client is going to want to use Google Custom Search.
  4. Nancy
    Nancy avatar
    35 posts
    10 Apr 2012
    14 May 2012
    Link to this post
    Here is an article about adding Google search to a .net site. It is not specific to Sitefinity, but it should work if you can create a control or add the code to your master page.
Register for webinar
4 posts, 0 answered