<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
    <div id="grid" align="center" >  
     
    <span id="Span1" runat="server">
     <asp:Label ID="lblProgress" runat="server" Text="Loading..."></asp:Label><br />
      <img id="id" runat="server" src="~/img/ajax-loader.gif" alt="loading" />
      <img id="Img1" runat="server" src="~/img/ajax-loader.gif" alt="loading" />
      <img id="Img2" runat="server" src="~/img/ajax-loader.gif" alt="loading" />  
    </span>
    
    <asp:Panel ID="pnlContainer" runat="server" visible="false" >
    <asp:GridView ID="gvStuff" runat="server" AlternatingRowStyle-BackColor="Aqua" >
        <AlternatingRowStyle BackColor="Aqua" />
    </asp:GridView>
    
    </asp:Panel>
    <asp:ObjectDataSource ID="odsStuff" runat="server" SelectMethod="myDataReader"  
            TypeName="myDataSource" ></asp:ObjectDataSource>
    </div>
   </div>
   </form>
   
   
<script type="text/javascript"> 
 window.onload = CallServer;
 function GetGVData(arg)
 {
    document.getElementById("grid").innerHTML = arg;
 }  
</script>

</body>
</html>
