|Table of content|
GoogleControl is an example of PageBox control written in C# for .NET.
It implements a user interface to the Google API and allows setting:
The control width
The control style
The Google license
GoogleControl isolates the user interface to the Google API. If the Google API changes you only need to update and re-deploy GoogleControl on your sites. If other search engines can provide a similar API, you can modify GoogleControl to interface with another search engine and re-deploy GoogleControls on your sites. In both cases you don’t need to change the pages that use GoogleControl.
GoogleControl implements the three forms of PageBox control described in Control concept:
HTTP control in GoogleForm.aspx (server pages) and GoogleForm2.aspx (browser frames and IFrames)
Include control in GoogleInclude.aspx
ASP.NET control (.ascx) in GoogleControl.ascx
The Google API uses the SOAP and WSDL standards. For more information you can visit http://www.google.com/apis/. You need a Google account to use the API and therefore GoogleControl. You can also download the Developer kit, which includes a C# proxy.
The GoogleControl documentation includes:
An installation guide where you can download GoogleControl
A page describing the GoogleControl internals
©2001-2004 Alexis Grandemange. Last modified .