-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault.aspx
36 lines (32 loc) · 1.04 KB
/
Default.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DashboardGaugeRanges._Default" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<style type="text/css">
html, body, form {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
</style>
<script type="text/javascript">
//<![CDATA[
function onBeforeRender(s, e) {
var dashboardControl = s.GetDashboardControl();
dashboardControl.registerExtension(new GaugeRangesExtension(dashboardControl));
}
//]]>
</script>
</head>
<body>
<form id="form1" runat="server">
<dx:ASPxDashboard ID="ASPxDashboard1" runat="server" DashboardStorageFolder="~/App_Data/Dashboards" Height="100%"
OnCustomExport="ASPxDashboard1_CustomExport">
<ClientSideEvents BeforeRender="onBeforeRender" />
</dx:ASPxDashboard>
</form>
<script src="GaugeRangesExtension.js"></script>
</body>
</html>