Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.82 KB | None | 0 0
  1. <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<myGreenWebCore.Model.GWSupportQuestion>" %>
  2.  
  3. <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
  4.     Create
  5. </asp:Content>
  6.  
  7. <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  8. <div class="toolbar">
  9.         <table width="100%" cellspacing="0" cellpadding="0">
  10.             <tr>
  11.                 <td width="300">
  12.                     <h1>
  13.                         Create new support ticket</h1>
  14.                 </td>
  15.                 <td>
  16.                     <div class="buttons">
  17.                     </div>
  18.                 </td>
  19.             </tr>
  20.         </table>
  21.     </div>
  22.    
  23.     <% using (Html.BeginForm())
  24.        {%>
  25.     <%: Html.ValidationSummary("Please correct the errors and try again.") %>
  26.     <table>
  27.         <tr>
  28.             <td>
  29.                 Title:
  30.             </td>
  31.             <td>
  32.             <%: Html.TextBoxFor(model => model.Title, new { @class = "edit", maxlength = "250" })%>
  33.             <%: Html.ValidationMessageFor(model => model.Title, "*") %>        
  34.             </td>
  35.         </tr>
  36.         <tr>
  37.             <td valign="top">
  38.                 Message:
  39.             </td>
  40.             <td>
  41.                 <%: Html.TextAreaFor(model => model.Description, new { @class = "Support_Area", maxlength = "4000" })%>
  42.                 <%: Html.ValidationMessageFor(model => model.Description, "*") %>
  43.             </td>
  44.         </tr>
  45.         <tr>
  46.             <td>
  47.                 &nbsp;
  48.             </td>
  49.             <td>
  50.                 <input type="submit" value="Create" class="btn" />&nbsp;<span class="buttons"><%=Html.ActionLink("Back", "ShowAll") %></span>
  51.             </td>
  52.         </tr>
  53.     </table>
  54.      <% } %>
  55.  
  56. </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement