Initial Commit Update Telerik
This commit is contained in:
66
LPWeb20/UserControls/Dialogbox.aspx
Normal file
66
LPWeb20/UserControls/Dialogbox.aspx
Normal file
@@ -0,0 +1,66 @@
|
||||
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Dialogbox.aspx.vb" Inherits="LPWeb.Dialogbox" %>
|
||||
|
||||
<!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 id="Head1" runat="server">
|
||||
<title></title>
|
||||
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
|
||||
<style type="text/css">
|
||||
.style2
|
||||
{
|
||||
width: 66px;
|
||||
text-align: left;
|
||||
}
|
||||
#form1
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
.style3
|
||||
{
|
||||
text-align: left;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" id="telerikClientEvents1">
|
||||
//<![CDATA[
|
||||
function GetRadWindow() {
|
||||
var oWindow = null;
|
||||
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
|
||||
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
|
||||
|
||||
return oWindow;
|
||||
}
|
||||
|
||||
function CloseWindow() {
|
||||
GetRadWindow().close();
|
||||
}
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body class="message">
|
||||
|
||||
<form id="form1" runat="server" >
|
||||
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
|
||||
</telerik:RadScriptManager>
|
||||
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="style2">
|
||||
<asp:Image ID="Image1" runat="server" ImageUrl="~/Bilder/warning.png" />
|
||||
</td>
|
||||
<td class="style3">
|
||||
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<telerik:RadButton ID="RadButton1" runat="server" Text="ok"
|
||||
onclientclicking="CloseWindow">
|
||||
</telerik:RadButton>
|
||||
<br />
|
||||
<br />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user