PageRenderTime 59ms CodeModel.GetById 57ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/admins/Show.aspx

http://github.com/gmhawash/SSR
ASP.NET | 77 lines | 75 code | 2 blank | 0 comment | 0 complexity | 9746afc4af771f3e7ca24167ba362f9d MD5 | raw file
 1<%@ Page Title="" Language="C#" MasterPageFile="./MasterPage.master" AutoEventWireup="true"
 2  CodeFile="Show.aspx.cs" Inherits="providers_Default2" %>
 3
 4<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
 5</asp:Content>
 6<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 7  <asp:Panel ID="View1" runat="server" CssClass="clear">
 8    <asp:Label ID="Id" Visible="false" runat="server" />
 9    <asp:Table ID="Table1" runat="server" >
10      <asp:TableRow ID="TableRow1" runat="server" VerticalAlign="Top">
11      </asp:TableRow>
12      <asp:TableRow ID="TableRow2" runat="server" VerticalAlign="Top">
13      </asp:TableRow>
14    </asp:Table>
15      <div style="padding: 1em;">
16        <asp:Button ID="Back" runat="server" Text="Back" OnClick="Back_Click" />
17      </div>
18      
19    <fieldset>
20      <div class='editbox'>
21        <div>
22          Summary:</div>
23        <asp:TextBox ID="Summary" runat="server" CssClass="editbox" Rows="4" TextMode="MultiLine"
24          Enabled="false" /></div>
25      <div class='editbox'>
26        <div>
27          Description:</div>
28        <asp:TextBox ID="Description" runat="server" CssClass="editbox" Rows="4" TextMode="MultiLine"
29          Enabled="false" /></div>
30      <div class='editbox'>
31        <div>
32          Cancel Comment:</div>
33        <asp:TextBox ID="CancelComment" runat="server" CssClass="editbox" Rows="4" TextMode="MultiLine"
34          Enabled="false" /></div>
35          </fieldset>
36  </asp:Panel>
37  <fieldset>
38    Add your note to this ticket:
39    <asp:TextBox ID="Note" runat="server" Height="146px" TextMode="MultiLine" Width="876px"></asp:TextBox>
40    <br />
41    <asp:Button ID="AddNote" runat="server" Text="Add Note" OnClick="AddNote_Click" />
42  </fieldset>
43  <fieldset>
44    <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource2">
45      <ItemTemplate>
46        <br />
47        <br />
48        Posted By: <strong>
49          <%# Eval("Username") %>
50          On:
51          <%# Eval("CreatedOn") %>
52        </strong>
53        <div class="note">
54          <%# Eval("Body") %>
55        </div>
56      </ItemTemplate>
57      <AlternatingItemTemplate>
58        <br />
59        <br />
60        Posted By: <strong>
61          <%# Eval("Username") %>
62          On:
63          <%# Eval("CreatedOn") %>
64        </strong>
65        <div class="note2">
66          <%# Eval("Body") %>
67        </div>
68      </AlternatingItemTemplate>
69    </asp:Repeater>
70    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:aspnetdbConnectionString1 %>"
71      SelectCommand="spGetMessages" SelectCommandType="StoredProcedure">
72      <SelectParameters>
73        <asp:SessionParameter Name="TicketId" SessionField="TicketId" />
74      </SelectParameters>
75    </asp:SqlDataSource>
76  </fieldset>
77</asp:Content>