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

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!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>EditStudent</title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

            <script type="text/javascript">
			function ShowEditForm()
			{              		
				window.radopen("Default2.aspx", "EditStudent");
				return false; 
			}   			
			 
            </script>

        </telerik:RadCodeBlock>
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
        </telerik:RadScriptManager>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista">
            <Windows>
                <telerik:RadWindow ID="EditStudent" runat="server" Title="Editing record" Skin="Vista"
                    Height="600px" Width="650px" Left="100px" ReloadOnShow="true" ShowContentDuringLoad="false"
                    Modal="true" />
            </Windows>
        </telerik:RadWindowManager>
        <div>
            <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return ShowEditForm();" />
        </div>
    </form>
</body>
</html>
