ASP.NET Page /DesktopModules/DiscussDetails.aspx (C#)
Uses Code Behind Page Page /DesktopModules/DiscussDetails.aspx.cs (C#)
1: <%@ Page language="c#" CodeBehind="DiscussDetails.aspx.cs" AutoEventWireup="false" Inherits="ASPNetPortal.DiscussDetails" %>
2: <%@ Register TagPrefix="portal" TagName="Banner" Src="~/DesktopPortalBanner.ascx" %>
3:
4: <HTML>
5: <HEAD>
6: <link href='<%= Request.ApplicationPath + "/Portal.css" %>' type="text/css" rel="stylesheet">
7: </HEAD>
8: <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" marginwidth="0" marginheight="0">
9: <form name="form1" runat="server">
10: <table cellSpacing="0" cellPadding="0" width="100%" border="0">
11: <tr vAlign="top">
12: <td colSpan="2">
13: <portal:banner id="Banner1" runat="server" ShowTabs="false">
14: </portal:banner>
15: </td>
16: </tr>
17: <tr vAlign="top">
18: <td width="10%">
19:
20: </td>
21: <td>
22: <br>
23: <table cellSpacing="0" cellPadding="0" width="600">
24: <tr>
25: <td align="left">
26: <span class="Head">Message Detail</span>
27: </td>
28: <td align="right">
29: <asp:panel id="ButtonPanel" runat="server"><A class="CommandButton" id="prevItem" title="Previous Message" runat="server">
30: <IMG src='<%=Request.ApplicationPath + "/images/rew.gif" %>' border="0"></A> <A class="CommandButton" id="nextItem" title="Next Message" runat="server"><IMG src='<%=Request.ApplicationPath + "/images/fwd.gif" %>' border="0"></A>
31: <asp:LinkButton id="ReplyBtn" runat="server" EnableViewState="false" Cssclass="CommandButton" Text="Reply to this Message"></asp:LinkButton>
32: </asp:panel>
33: </td>
34: </tr>
35: <tr>
36: <td colSpan="2">
37: <hr noShade SIZE="1">
38: </td>
39: </tr>
40: </table>
41: <asp:panel id="EditPanel" runat="server" Visible="false">
42: <TABLE cellSpacing="0" cellPadding="4" width="600" border="0">
43: <TR vAlign="top">
44: <TD class="SubHead" width="150">
45: Title:
46: </TD>
47: <TD rowSpan="4">
48:
49: </TD>
50: <TD width="*">
51: <asp:TextBox id="TitleField" runat="server" maxlength="100" columns="40" width="500" cssclass="NormalTextBox"></asp:TextBox>
52: </TD>
53: </TR>
54: <TR vAlign="top">
55: <TD class="SubHead">
56: Body:
57: </TD>
58: <TD width="*">
59: <asp:TextBox id="BodyField" runat="server" columns="59" width="500" Rows="15" TextMode="Multiline"></asp:TextBox>
60: </TD>
61: </TR>
62: <TR vAlign="top">
63: <TD>
64:
65: </TD>
66: <TD>
67: <asp:LinkButton class="CommandButton" id="updateButton" runat="server" Text="Submit"></asp:LinkButton>
68:
69: <asp:LinkButton class="CommandButton" id="cancelButton" runat="server" Text="Cancel" CausesValidation="False"></asp:LinkButton>
70:
71: </TD>
72: </TR>
73: <TR vAlign="top">
74: <TD class="SubHead">
75: Original Message:
76: </TD>
77: <TD>
78:
79: </TD>
80: </TR>
81: </TABLE>
82: </asp:panel>
83: <table cellSpacing="0" cellPadding="4" width="600" border="0">
84: <tr vAlign="top">
85: <td class="Message" align="left">
86: <b>Subject: </b>
87: <asp:label id="Title" runat="server"></asp:label>
88: <br>
89: <b>Author: </b>
90: <asp:label id="CreatedByUser" runat="server"></asp:label>
91: <br>
92: <b>Date: </b>
93: <asp:label id="CreatedDate" runat="server"></asp:label>
94: <br>
95: <br>
96: <asp:label id="Body" runat="server"></asp:label>
97: </td>
98: </tr>
99: </table>
100: </td>
101: </tr>
102: </table>
103: </form>
104: </body>
105: </HTML>