ASP.NET Page /Reports/NumberUsers.aspx (C#)
Uses Code Behind Page Page /Reports/NumberUsers.aspx.cs (C#)
1: <%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="True" CodeBehind="NumberUsers.aspx.cs" Inherits="QuiznetOnline.Web.UI.Reports.NumberOfUsers" %>  
2: <asp:Content ID="MainContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">  
3:   
4: <script type="text/javascript">  
5:     $(function () {  
6:         $("#<%= txtStartDate.ClientID %>").datepicker();  
7:         $.datepicker.setDefaults($.datepicker.regional['']);  
8:         $("#<%= txtEndDate.ClientID %>").datepicker();  
9:         $.datepicker.setDefaults($.datepicker.regional['']);  
10:     });  
11:   
12: </script>  
13:       
14:     <table>  
15:     <tr>  
16:         <td>Start Date: <input type="text" id="txtStartDate" runat="server"/></td>  
17:         <td>End Date: <input type="text" id="txtEndDate" runat="server"/></td>  
18:         <td><asp:Button runat="server" ID="cmdSubmit" Text="Submit" /></td>  
19:     </tr>  
20:     </table>  
21:   
22: <table class="sampleTable" border="2">  
23:     <tr>  
24:         <td>  
25:             <asp:CHART id="Chart1" runat="server"  
26:                 BackColor="WhiteSmoke"  
27:                 Width="1243px" Height="512px" BorderlineDashStyle="Solid" Palette="BrightPastel" BackSecondaryColor="White" BackGradientStyle="TopBottom"  
28:                 BorderWidth="2" BorderColor="Navy" ImageLocation="~/TempImages/ChartPic_#SEQ(300,3)">  
29:                 <Titles>  
30:                     <asp:Title Text="Number of new users joining"></asp:Title>  
31:                 </Titles>  
32:                 <legends>  
33:                     <asp:Legend Enabled="False" IsTextAutoFit="False" Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold"></asp:Legend>  
34:                 </legends>  
35:                 <borderskin SkinStyle="Emboss"></borderskin>  
36:                 <series>  
37:                     <asp:Series MarkerSize="8" BorderWidth="3" XValueType="DateTime" Name="Series1" ShadowColor="Black"  
38:                     BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240" ShadowOffset="2" YValueType="Int32"></asp:Series>  
39:                 </series>  
40:                 <chartareas>  
41:                     <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid" BackSecondaryColor="White" BackColor="OldLace" ShadowColor="Transparent" BackGradientStyle="TopBottom">  
42:                         <area3dstyle Rotation="25" Perspective="9" LightStyle="Realistic" Inclination="40" IsRightAngleAxes="False" WallWidth="3" IsClustered="False" />  
43:                         <axisy LineColor="64, 64, 64, 64">  
44:                             <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />  
45:                             <MajorGrid LineColor="64, 64, 64, 64"  />  
46:                         </axisy>  
47:                         <axisx LineColor="64, 64, 64, 64" IsLabelAutoFit="false">  
48:                             <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Angle="-60" format="mm/dd/yyyy"/>  
49:                             <MajorGrid LineColor="64, 64, 64, 64" />  
50:                         </axisx>  
51:                     </asp:ChartArea>  
52:                 </chartareas>  
53:             </asp:CHART>  
54:         </td>  
55:     </tr>  
56: </table>      
57: </asp:Content>

.NET Documentation Tool is © 2002 - 2009 Winnersh Triangle Web Solutions Limited.