This example demonstrates how to create a custom search panel that searches for location, keywords, and other parameters with the BingSearchDataProvider.Search method.
To use the Search panel, specify search parameters (location, keyword, start search index, geographical point coordinates) in the textbox elements.
When you handle the search_Click event, all parameters are passed to the Search method, and you can see the result in the textblock element below.
The results contain a display name , entity type, and address associated with the search location. In addition, the SearchRequestResult.AlternateSearchRegions property returns results of searching alternate regions.
You can also see search request information returned by the RequestResultBase.ResultCode, RequestResultBase.FaultReason and SearchRequestResult.EstimatedMatches properties.
Note that if you run this sample as is, you will get a warning message saying that the specified Bing Maps key is invalid. To learn more about Bing Map keys, please refer to the How to: Get a Bing Maps Key tutorial.
(you will be redirected to DevExpress.com to submit your response)