GoogleControl |
|
Concept | Presentation | Install | Use | Internals |
GoogleControl installation guide
Table of content | |
|
You can download GoogleControl from here.
The archive contains three directories, GoogleControl, GoogleControl2 and GoogleTest.
Contains the HTTP and the include implementations.
The table below describes the most important files.
Name | Function |
---|---|
Restores the GoogleControl.xml | |
Client implementation downloading the GoogleForm | |
Client implementation downloading the GoogleForm | |
Page returning the CSS of the querying page to GoogleForm | |
Returns the CSS of the querying page to GoogleForm | |
Sample page to test GoogleInclude | |
HTTP page for server page client | |
HTTP implementation for server page client | |
HTTP page for browser client | |
HTTP implementation for browser client | |
Include page | |
Include implementation | |
GoogleControl.xml | Example of configuration file |
Google API proxy (from the Google developer guide) |
The directory also contains:
Peer pages, resource and project files
CSS, images and Javascript needed by dotnet-include.aspx
Contains the ASP.NET implementation.
The table below describes the most important files.
Name | Function |
---|---|
ASP.NET control page | |
ASP.NET control implementation | |
Sample page using GoogleControl | |
Google API proxy (from the Google developer guide) |
The directory also contains:
Peer pages, resource and project files
CSS, images and Javascript needed by dotnet-control.aspx
Contains an example of page using the HTTP implementation.
The table below describes the most important files.
Name | Function |
---|---|
Sample page using GoogleForm | |
Client page downloading the GoogleForm (code behind dotnet-get.aspx – same as in GoogleControl directory) | |
Sample page using GoogleForm2 | |
GoogleControl.xml | Example of configuration file |
See the internals page for more explanations.
Inflate the following files of the archive’s GoogleControl directory on an IIS virtual directory:
ControlCss.aspx ControlCss.aspx.resx ControlCss.aspx.cs GoogleForm.aspx GoogleForm.aspx.resx GoogleForm.aspx.cs GoogleForm2.aspx GoogleForm2.aspx.resx GoogleForm2.aspx.cs Global.asax Global.asax.resx Global.asax.cs AssemblyInfo.cs GoogleSearchService.cs Web.config Bin/GoogleControl.dll |
ASP.NET must be installed on the IIS machine and the GoogleControl virtual directory must be configured as an application:
The pages that use the HTTP control can be in different directories, even on different machines or on different Application servers (PHP or J2EE).
Inflate the following files of the archive’s GoogleControl directory on the same directory as pages that include the control:
GoogleInclude.aspx GoogleInclude.aspx.resx GoogleInclude.aspx.cs Global.asax Global.asax.resx Global.asax.cs GoogleSearchService.cs Bin/GoogleControl.dll |
For an installation through PageBox, you can configure the installation script to populate the directories of the pages that include the control.
Note:
You can also need to merge the Global.asax of the target directories with the control’s Global.asax. In that case it can be simpler to add the Global.asax.cs code to GoogleInclude.aspx.cs:
public class GoogleInclude : System.Web.UI.Page { public static Hashtable pages = new Hashtable(); public static void initialize(string referer, string path, bool checkRemote) { // Initialize code from Global.asax.cs } } public sealed class RefererItem { // RefererItem from Global.asax.cs } Then recompile.
Inflate the following files of the archive’s GoogleControl2 directory on the same directory as pages that include the control:
GoogleControl.ascx GoogleControl.ascx.resx GoogleControl.ascx.cs GoogleSearchService.cs Bin/GoogleControl2.dll |
Contact:support@pagebox.net
©2001-2004 Alexis Grandemange.
Last modified
.