+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / How do I change a search button title

How do I change a search button title

4 posts, 0 answered
  1. Bob Howard
    Bob Howard avatar
    22 posts
    Registered:
    06 Jan 2008
    10 Jan 2008
    Link to this post
    Is there a way to change the search's button title to say "Go" instead of "Search."
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    10 Jan 2008
    Link to this post
    Hi Bob,

    To achieve this, you need to modify SearchBox.ascx
    template located in ~/Sitefinity/ControlTemplates/Search/ folder:

    <input type ="button" id="searchButton" runat="server"  class="searchSubmit" value="Go" alt="Search"/> 

    You should just set "Go" as a new value for the
    search button value attribute.

    Hope this helps.


    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Brett
    Brett avatar
    5 posts
    Registered:
    27 Mar 2008
    06 May 2008
    Link to this post
    I found this feedback useful but I need to customize my search field a little more.

    For example, I need to use an image instead of a button to submit the search. I've run some tests but it's not working. I assume that there is an easy answer for this but I havent found it in the docs or forums.

    Thanks
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 May 2008
    Link to this post
    Hi Brett,

    Please follow the instructions in this KB article: 
    How to substitute the search button with an image in Search box.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered