ASP.NET Page /Resources/Article.aspx (C#)
Uses Code Behind Page Page /Resources/Article.aspx.cs (C#)
1: <%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="True" CodeBehind="Article.aspx.cs" Inherits="QuiznetOnline.Web.UI._Article" %>  
2: <asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">  
3:         <asp:UpdatePanel ID="UpdatePanel1" runat="server" updatemode="Conditional" >  
4:             <ContentTemplate>  
5:                 <table width="100%">  
6:                 <tr>  
7:                     <td><font style="font-weight:bold;font-size: 12pt;">Articles</font></td>  
8:                 </tr>  
9:                 <tr>  
10:                     <td valign="top">  
11:                     <table class="Comment_TextArea" cellpadding="5" cellspacing="5">  
12:                         <tr>  
13:                             <td><b>Topic</b></td>  
14:                             <td>  
15:                                 <asp:DropDownList runat="server" Width="100%" ID="lstTopics" AutoPostBack="true" OnSelectedIndexChanged="lstTopics_SelectedIndexChanged"/>  
16:                             </td>  
17:                         </tr>  
18:                     </table>  
19:                     </td>  
20:                 </tr>  
21:   
22:                 <tr><td></td></tr>  
23:   
24:                 <tr>  
25:                     <td>  
26:                     <table class="Comment_TextArea">  
27:                         <tr>  
28:                             <td>  
29:                                 <asp:GridView runat="server" ID="gridArticles" AutoGenerateColumns="False"  
30:                                     CellPadding="4" ForeColor="#333333" GridLines="None">  
31:                                     <AlternatingRowStyle BackColor="White" />  
32:                                     <Columns>  
33:                                         <asp:HyperLinkField DataTextField="ArticleDesc" DataNavigateUrlFields="ArticleURL" Target="_blank" HeaderText="Article links" />  
34:                                     </Columns>  
35:                                     <EditRowStyle BackColor="#2461BF" />  
36:                                     <EmptyDataTemplate>  
37:                                         No articles at this time  
38:                                     </EmptyDataTemplate>  
39:                                     <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />  
40:                                     <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />  
41:                                     <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />  
42:                                     <RowStyle BackColor="#EFF3FB" />  
43:                                     <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />  
44:                                     <SortedAscendingCellStyle BackColor="#F5F7FB" />  
45:                                     <SortedAscendingHeaderStyle BackColor="#6D95E1" />  
46:                                     <SortedDescendingCellStyle BackColor="#E9EBEF" />  
47:                                     <SortedDescendingHeaderStyle BackColor="#4870BE" />  
48:                                 </asp:GridView>  
49:                             </td>  
50:                         </tr>  
51:                     </table>  
52:                     </td>  
53:                 </tr>  
54:                 </table>  
55:             </ContentTemplate>  
56:           </asp:UpdatePanel>  
57:   
58: </asp:Content>  

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