Hi,
I would like to use a webservice to fetch the search results for my searchbox. I've created an .asmx file as shown in the examples online, and can get to the webservice call and grab the searchbox context without issue.
However, in order to generate the results I want to show, I need to pass along a few additional parameters. Is there any way to do this? Looks like there's nothing I can set in the OnClientDataRequesting client handler. And I tried setting HttpGet to true and passing parameters through the URL string, but it returns a 500 Page not found error.
Thanks,
Ajit
I would like to use a webservice to fetch the search results for my searchbox. I've created an .asmx file as shown in the examples online, and can get to the webservice call and grab the searchbox context without issue.
SearchRows =
new
RadSearchBox() { ID = pv.ID +
"_SearchRows"
, OnClientButtonCommand =
"RowSearchBox_ClientButtonCommand"
,
EnableAutoComplete =
true
, ShowSearchButton =
false
, EmptyMessage =
"Search Rows"
, Width = Unit.Parse(
"300px"
), Skin =
"Metro"
,
OnClientSearch =
"RadRowsSearch_ClientSearch"
};
SearchRows.DropDownSettings.Width = Unit.Parse(
"300px"
);
SearchRows.DropDownSettings.Height = Unit.Parse(
"400px"
);
SearchRows.WebServiceSettings.Path =
"~/WebServices/LoadSearchResults.asmx"
;
However, in order to generate the results I want to show, I need to pass along a few additional parameters. Is there any way to do this? Looks like there's nothing I can set in the OnClientDataRequesting client handler. And I tried setting HttpGet to true and passing parameters through the URL string, but it returns a 500 Page not found error.
Thanks,
Ajit