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

<%@ Register Assembly="RadWindow.Net2" Namespace="Telerik.WebControls" TagPrefix="radW" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="Head1" runat="server">
  <title>Title</title>
</head>
<body>
<form id="form1" runat="server">

  <script>  
      function OpenSplash(durationSeconds)   
      {   
          radsplash(true);   
          setTimeout( function() { radsplash(false); }, durationSeconds * 1000);   
      }   
  </script>

  <radW:RadWindowManager ID="singleton" runat="server" Skin="Default" SkinsPath="~/RadControls/Window/Skins">
    <Windows>
      <radW:RadWindow runat="server" VisibleOnPageLoad="true" Splash="True">
      </radW:RadWindow>
    </Windows>
  </radW:RadWindowManager>
  <input type="button" onclick="OpenSplash(3);" value="Open Splash" />
</form>
</body>
</html>
