Create a Custom Control to Wrap the Google JSON/ATOM Custom Search API, Part 2Create a Custom Control to Wrap the Google JSON/ATOM Custom Search API, Part 2
Add design-time features to the GoogleRestApiControl custom control created in part 1
August 3, 2011
In Part 1 of this article, we learned the basics of the Google JSON/ATOM Custom Search API and also developed an ASP.NET custom server control to wrap the API for easy use in our web applications. In this part we will add design-time features to the GoogleRestApiControl custom control, such as Smart-tag and custom drop-down lists. In the process, we will discuss how to create a custom control designer, a custom action list, and a custom type converter for our custom control.
As a quick recap, the properties and methods of the GoogleRestApiControl are listed again in Figure 1.
Property / Method |
---|
Figure 1: Properties and methods of GoogleRestApiControl |
Url |
ApiKey |
CustomSearchEngineId |
SearchCriteria |
LanguageFilter |
SafeSearchOption |
FilterDuplicateResults |
SearchResultFormat |
ClientCallbackName |
GetSearchResults() |
GetSearchResultsAsSyndicationItems() |
GetClientScriptBlock() |
Read more about:
Alphabet Inc.About the Author
You May Also Like