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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>Untitled Page</title>
	<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

		<script type="text/javascript">
            function ShowEditForm()
            {
                window.radopen("popup.aspx" , "Popup");
            }
		</script>

	</telerik:RadCodeBlock>

</head>
<body>
	<form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server" />
	<div>
		<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Web20" VisibleStatusbar="false"
			Modal="true" Behavior="Close">
			<Windows>
				<telerik:RadWindow Skin="Web20" ID="Popup" runat="server" Title="User Dialog"
					Height="475px" Width="725px"  />
			</Windows>
		</telerik:RadWindowManager>
		<a href="#" ID="ShowInsertForm" runat="server" onclick="return ShowEditForm();" >Click Here</a>  
	</div>
	</form>
</body>
</html>
