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

Forums / General Discussions / Custom Control for Search Box

Custom Control for Search Box

2 posts, 0 answered
  1. Shekar
    Shekar avatar
    35 posts
    Registered:
    11 Mar 2011
    16 Mar 2011
    Link to this post
    I have found a template for the Search Box under the folder ~/Sitefinity/ControlTemplates/Search/SearchBox.ascx. Now, I would like to extend the template by adding few other controls like checkboxlist, dropdown etc., into the current sitefinity Search Box template. Kindly let me know how to do it? Whether is it possible to extend the Search Box template, and if so, kindly provide me some sample code.

    Please provide me some sample code, if there is other way around by creating custom class from the available Sitefinity class SearchBox.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    16 Mar 2011
    Link to this post
    Hello Shekar,

    I sent a reply to you here.

    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/how-to-associate-additional-controls-like-dropdownlist-and-checkbox-list-to-the-current-search-functionaliy.aspx

    You can also take a look at samples provided in the post below

    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/possible-to-viewmap-searchbox-and-searchresults.aspx



    Regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered