<%@ Control language="c#" Codebehind="GoogleControl.ascx.cs" AutoEventWireup="false" Inherits="GoogleControl2.GoogleControl" %>
<asp:panel runat="server" id="GooglePanel">
<table width="100%">
  <tr>
    <td><asp:label id=title runat="server" Width="100%">Google control</asp:label></td></tr>
  <tr>
    <td><asp:textbox id=term runat="server" MaxLength="60"></asp:textbox></td></tr>
  <tr>
    <td>
    <asp:button id=search Runat="server" Text="Search"></asp:button>
    <asp:button id=clear Runat="server" Text="Clear"></asp:button>
    </td></tr>
  <tr>
    <td width="100%">
<asp:datagrid id="result" Runat="server" AutoGenerateColumns="False" DataKeyField="Key" Width="100%">
<Columns>
	<asp:ButtonColumn HeaderText="Action" ButtonType="PushButton" Text="Sel" CommandName="Select"/>
	<asp:HyperLinkColumn HeaderText="URL" DataTextField="URL" DataNavigateUrlField="URL" Target="_blank" ItemStyle-Width="48%"></asp:HyperLinkColumn>
	<asp:BoundColumn DataField="Title" HeaderText="Title" ItemStyle-Width="48%"></asp:BoundColumn>
</Columns>
</asp:datagrid></td></tr>
  <tr>
    <td width="100%">
<asp:datagrid id="detail" Runat="server" AutoGenerateColumns="False" Width="100%">
<Columns>
	<asp:BoundColumn DataField="Name" HeaderText="Name" ItemStyle-Width="10%"></asp:BoundColumn>
	<asp:BoundColumn DataField="Value" HeaderText="Value" ItemStyle-Width="90%"></asp:BoundColumn>
</Columns>
</asp:datagrid>
</td></tr></table>
<asp:label id="labStatus" runat="server"></asp:label><br>
<asp:label id=copyright runat="server">© 2002 Alexis Grandemange</asp:label>
</asp:panel>