ASP.NET Page /Reports/MyResults.aspx (C#)
Uses Code Behind Page Page /Reports/MyResults.aspx.cs (C#)
1: <%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="True" CodeBehind="MyResults.aspx.cs" Inherits="QuiznetOnline.Web.UI.Reports.MyResults" %>  
2: <asp:Content ID="MainContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">  
3: <script type="text/javascript">  
4:     $(function () {  
5:         $("#<%= txtStartDate.ClientID %>").datepicker();  
6:         $.datepicker.setDefaults($.datepicker.regional['']);  
7:         $("#<%= txtEndDate.ClientID %>").datepicker();  
8:         $.datepicker.setDefaults($.datepicker.regional['']);  
9:     });  
10: </script>  
11:   
12:     <table>  
13:     <tr>  
14:         <td>Start Date: <input type="text" id="txtStartDate" runat="server"/></td>  
15:         <td>End Date: <input type="text" id="txtEndDate" runat="server"/></td>  
16:         <td>Topic: <asp:DropDownList runat="server" ID="lstTopics" /></td>  
17:         <td><asp:Button runat="server" ID="cmdSubmit" Text="Submit"  
18:                 onclick="cmdSubmit_Click" /></td>  
19:     </tr>  
20:     </table>  
21:       
22:     <table class="sampleTable" border="2">  
23:         <tr>  
24:             <td>  
25:                 <asp:CHART id="Chart1" runat="server" Width="1243px" Height="512px"  
26:                     BackColor="211, 223, 240" BorderDashStyle="Solid" BackGradientStyle="TopBottom" Palette="BrightPastel"  
27:                     BorderWidth="2px" BorderColor="#1A3B69">  
28:                     <Titles>  
29:                         <asp:Title Text="My Results"></asp:Title>  
30:                     </Titles>  
31:                     <legends>  
32:                         <asp:Legend TitleFont="Microsoft Sans Serif, 8pt, style=Bold" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold" IsTextAutoFit="False" Enabled="True" Name="Default"></asp:Legend>  
33:                     </legends>  
34:                     <borderskin SkinStyle="Emboss"></borderskin>  
35:                     <series>  
36:                         <asp:Series Name="Series1" Color="220, 252, 180, 65" YValueType="Int32" ChartType="StackedColumn" LegendText="Questions Correct"></asp:Series>  
37:                         <asp:Series Name="Series2" Color="220, 224, 64, 10" YValueType="Int32" ChartType="StackedColumn" LegendText="Questions Incorrect"></asp:Series>  
38:                     </series>  
39:                             <chartareas>  
40:                                 <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid" BackSecondaryColor="Transparent" BackColor="64, 165, 191, 228" ShadowColor="Transparent" BackGradientStyle="TopBottom">  
41:                                     <area3dstyle Rotation="10" Inclination="15" WallWidth="0" />  
42:                                     <position Y="3" Height="92" Width="92" X="2"></position>  
43:                                     <axisy LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">  
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"  LabelAutoFitMaxFontSize="8">  
48:                                         <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />  
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.