//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System.Web.UI.WebControls;

using CommunityServer.Components;

namespace CommunityServer.Discussions.Controls 
{

    public class SearchModeDropDownList : DropDownList 
    {

        public SearchModeDropDownList() 
        {

            // Add search types
            //
            Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Utility_SearchModeDropDownList_Simple"), SearchMode.Simple.ToString()));
            Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Utility_SearchModeDropDownList_FullText"), SearchMode.SqlServerFullText.ToString()));
            Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Utility_SearchModeDropDownList_ForumsIndexer"), SearchMode.ForumsIndexer.ToString()));


        }

    }
}
