Add EasySearch to your site in less than 5 minutes!!! Read the Easy 2 step process in these simple instructions.

No Coding Required!

In 2 simple steps (unzip and configure) you can have a search engine running on your ASP.NET web site.



Add an advanced search engine to your ASP.NET Site in less than 5 minutes.


 

 

 

 

 

 

Knowledge Base - EasySearch for ASP.NET

Easy Search Documentation > EasySearch Files Defined EasySearch Help
Search the Knowledge Base
 
Start Search in the Following Category
Date Modified
Thursday, February 24, 2005
INFO :: EasySearch\EasySearchResults_DataGrid.ascx

EasySearchResults_DataGrid.ascx is a user control file. It can be moved and renamed.

In order to use this file, you must load the user control onto an ASPX page. This user control will display a datagrid with the search results.

The search results are dependant on the query string ?Search=Value attached to the page that loads the Datagrid.

For example. If you create a page named "EasySearchResults.aspx" and this is the page that you add the EasySearchResults_DataGrid.ascx control, then you would activate the search by the following example.

/EasySearchResults.aspx?Search=MySearch.

This would load a page showing results for the search term MySearch.

To add the datagrid control to your ASPX page, you'll need to add the following syntax.

<%@ Register TagPrefix="EasySearchControl" TagName="EasySearchResults_DataGrid" Src="EasySearch/EasySearchResults_DataGrid.ascx" %>

Then within the contents of your page, inside a <form runat="server"> tag you can load the control, with the following syntax.

<uc1:EasySearchResults_DataGrid
 id="EasySearchResults_DataGrid1"
 SerializedFileName="~/EasySearch/EasySearch.Config"
 FirstSiteMapWebUrl="https://www.myDomain.net/Default.aspx"
 ItemsPerPage="5" 
 DescriptionCharCount="150"
 WeightTitle="10"
 WeightKeywords="5"
 WeightDescription="1"
 WordMinimumLengthToStore="2"
 FirstSearchDomain="https://www.myDomain.net/"
 IncludeBody="true" 
 UserAgent="EasySearch Crawling Spider"
 runat="server" />

Article References
Article: INFO :: Configuring EasySearch

Help us build our knowledge base
Click here to Submit a Question
Knowledge Base Software - myKB.com