My module is a simple .ASCX control and i want to search text placed in this control. Below is the piece of code i've placed
public DotNetNuke.Services.Search.SearchItemInfoCollection GetSearchItems(DotNetNuke.Entities.Modules.ModuleInfo modInfo)
{
var searchItemCollection = new DotNetNuke.Services.Search.SearchItemInfoCollection();
var searchItem = new DotNetNuke.Services.Search.SearchItemInfo("Apple","Apple", 1, DateTime.Now,10,"Apple", "Apple",10);
searchItemCollection.Add(searchItem);
return searchItemCollection;
}
I could'nt see any manifest files in the module folders. What should be the module ID field in DotNetNuke.Services.Search.SearchItemInfo. My search for the word "Apple" failed. The run time doesn't seems to be executing "GetSearchItems". Can u pls guide more on this. From where can i get the moduleID.