home *** CD-ROM | disk | FTP | other *** search
/ 66.142.0.142 / 66.142.0.142.tar / 66.142.0.142 / tblLPRview.aspx < prev    next >
Text File  |  2010-08-24  |  7KB  |  196 lines

  1. <%@ Page Language="VB" MasterPageFile="masterpage.master" AutoEventWireup="false" CodeFile="tblLPRview.aspx.vb" Inherits="tblLPRview" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
  2. <asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
  3. <% If tblLPR.Export = "" Then %>
  4. <script type="text/javascript">
  5. <!--
  6. // Create page object
  7. var tblLPR_view = new ew_Page("tblLPR_view");
  8. // page properties
  9. tblLPR_view.PageID = "view"; // page ID
  10. var EW_PAGE_ID = tblLPR_view.PageID; // for backward compatibility
  11. <% If EW_CLIENT_VALIDATE Then %>
  12. tblLPR_view.ValidateRequired = true; // uses JavaScript validation
  13. <% Else %>
  14. tblLPR_view.ValidateRequired = false; // no JavaScript validation
  15. <% End If %>
  16. // search highlight properties
  17. tblLPR_view.ShowHighlightText = "Show highlight"; 
  18. tblLPR_view.HideHighlightText = "Hide highlight";
  19. //-->
  20. </script>
  21. <script language="JavaScript" type="text/javascript">
  22. <!--
  23. // Write your client script here, no need to add script tags.
  24. // To include another .js script, use:
  25. // ew_ClientScriptInclude("my_javascript.js"); 
  26. //-->
  27. </script>
  28. <% End If %>
  29. <p><span class="aspnetmaker">View TABLE: Lighting Problem Reporting
  30. <br /><br />
  31. <% If tblLPR.Export = "" Then %>
  32. <a href="tblLPRlist.aspx">Back to List</a> 
  33. <% If Security.CanAdd Then %>
  34. <% If tblLPR_view.ShowOptionLink() Then %>
  35. <a href="<%= tblLPR.AddUrl %>">Add</a> 
  36. <% End If %>
  37. <% End If %>
  38. <% If Security.CanEdit Then %>
  39. <% If tblLPR_view.ShowOptionLink() Then %>
  40. <a href="<%= tblLPR.EditUrl %>">Edit</a> 
  41. <% End If %>
  42. <% End If %>
  43. <% If Security.CanDelete Then %>
  44. <% If tblLPR_view.ShowOptionLink() Then %>
  45. <a href="<%= tblLPR.DeleteUrl %>">Delete</a> 
  46. <% End If %>
  47. <% End If %>
  48. <% End If %>
  49. </span></p>
  50. <% tblLPR_view.ShowMessage() %>
  51. <p />
  52. <table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
  53. <div class="ewGridMiddlePanel">
  54. <table cellspacing="0" class="ewTable">
  55. <% If tblLPR.lprEmpID.Visible Then ' lprEmpID %>
  56.     <tr<%= tblLPR.lprEmpID.RowAttributes %>>
  57.         <td class="ewTableHeader">Employee</td>
  58.         <td<%= tblLPR.lprEmpID.CellAttributes %>>
  59. <div<%= tblLPR.lprEmpID.ViewAttributes %>><%= tblLPR.lprEmpID.ViewValue %></div>
  60. </td>
  61.     </tr>
  62. <% End If %>
  63. <% If tblLPR.lprDate.Visible Then ' lprDate %>
  64.     <tr<%= tblLPR.lprDate.RowAttributes %>>
  65.         <td class="ewTableHeader">Date</td>
  66.         <td<%= tblLPR.lprDate.CellAttributes %>>
  67. <div<%= tblLPR.lprDate.ViewAttributes %>><%= tblLPR.lprDate.ViewValue %></div>
  68. </td>
  69.     </tr>
  70. <% End If %>
  71. <% If tblLPR.lprLocationID.Visible Then ' lprLocationID %>
  72.     <tr<%= tblLPR.lprLocationID.RowAttributes %>>
  73.         <td class="ewTableHeader">Location</td>
  74.         <td<%= tblLPR.lprLocationID.CellAttributes %>>
  75. <div<%= tblLPR.lprLocationID.ViewAttributes %>><%= tblLPR.lprLocationID.ViewValue %></div>
  76. </td>
  77.     </tr>
  78. <% End If %>
  79. <% If tblLPR.lprFixtureLocationID.Visible Then ' lprFixtureLocationID %>
  80.     <tr<%= tblLPR.lprFixtureLocationID.RowAttributes %>>
  81.         <td class="ewTableHeader">Fixture Location</td>
  82.         <td<%= tblLPR.lprFixtureLocationID.CellAttributes %>>
  83. <div<%= tblLPR.lprFixtureLocationID.ViewAttributes %>><%= tblLPR.lprFixtureLocationID.ViewValue %></div>
  84. </td>
  85.     </tr>
  86. <% End If %>
  87. <% If tblLPR.lprFixtureTypeID.Visible Then ' lprFixtureTypeID %>
  88.     <tr<%= tblLPR.lprFixtureTypeID.RowAttributes %>>
  89.         <td class="ewTableHeader">Fixture Type</td>
  90.         <td<%= tblLPR.lprFixtureTypeID.CellAttributes %>>
  91. <div<%= tblLPR.lprFixtureTypeID.ViewAttributes %>><%= tblLPR.lprFixtureTypeID.ViewValue %></div>
  92. </td>
  93.     </tr>
  94. <% End If %>
  95. <% If tblLPR.lprFixtureNumber.Visible Then ' lprFixtureNumber %>
  96.     <tr<%= tblLPR.lprFixtureNumber.RowAttributes %>>
  97.         <td class="ewTableHeader">Fixture Number</td>
  98.         <td<%= tblLPR.lprFixtureNumber.CellAttributes %>>
  99. <div<%= tblLPR.lprFixtureNumber.ViewAttributes %>><%= tblLPR.lprFixtureNumber.ViewValue %></div>
  100. </td>
  101.     </tr>
  102. <% End If %>
  103. <% If tblLPR.lprChannelNumber.Visible Then ' lprChannelNumber %>
  104.     <tr<%= tblLPR.lprChannelNumber.RowAttributes %>>
  105.         <td class="ewTableHeader">Channel Number</td>
  106.         <td<%= tblLPR.lprChannelNumber.CellAttributes %>>
  107. <div<%= tblLPR.lprChannelNumber.ViewAttributes %>><%= tblLPR.lprChannelNumber.ViewValue %></div>
  108. </td>
  109.     </tr>
  110. <% End If %>
  111. <% If tblLPR.lprPriority.Visible Then ' lprPriority %>
  112.     <tr<%= tblLPR.lprPriority.RowAttributes %>>
  113.         <td class="ewTableHeader">Priority</td>
  114.         <td<%= tblLPR.lprPriority.CellAttributes %>>
  115. <div<%= tblLPR.lprPriority.ViewAttributes %>><%= tblLPR.lprPriority.ViewValue %></div>
  116. </td>
  117.     </tr>
  118. <% End If %>
  119. <% If tblLPR.lprShortDesc.Visible Then ' lprShortDesc %>
  120.     <tr<%= tblLPR.lprShortDesc.RowAttributes %>>
  121.         <td class="ewTableHeader">Short Desc</td>
  122.         <td<%= tblLPR.lprShortDesc.CellAttributes %>>
  123. <div<%= tblLPR.lprShortDesc.ViewAttributes %>><%= tblLPR.lprShortDesc.ViewValue %></div>
  124. </td>
  125.     </tr>
  126. <% End If %>
  127. <% If tblLPR.lprSTID.Visible Then ' lprSTID %>
  128.     <tr<%= tblLPR.lprSTID.RowAttributes %>>
  129.         <td class="ewTableHeader">Status</td>
  130.         <td<%= tblLPR.lprSTID.CellAttributes %>>
  131. <div<%= tblLPR.lprSTID.ViewAttributes %>><%= tblLPR.lprSTID.ViewValue %></div>
  132. </td>
  133.     </tr>
  134. <% End If %>
  135. <% If tblLPR.lprSTChangedBy.Visible Then ' lprSTChangedBy %>
  136.     <tr<%= tblLPR.lprSTChangedBy.RowAttributes %>>
  137.         <td class="ewTableHeader">Status Changed By</td>
  138.         <td<%= tblLPR.lprSTChangedBy.CellAttributes %>>
  139. <div<%= tblLPR.lprSTChangedBy.ViewAttributes %>><%= tblLPR.lprSTChangedBy.ViewValue %></div>
  140. </td>
  141.     </tr>
  142. <% End If %>
  143. <% If tblLPR.lprDesc.Visible Then ' lprDesc %>
  144.     <tr<%= tblLPR.lprDesc.RowAttributes %>>
  145.         <td class="ewTableHeader">Description</td>
  146.         <td<%= tblLPR.lprDesc.CellAttributes %>>
  147. <div<%= tblLPR.lprDesc.ViewAttributes %>><%= tblLPR.lprDesc.ViewValue %></div>
  148. </td>
  149.     </tr>
  150. <% End If %>
  151. <% If tblLPR.lprCreatedBy.Visible Then ' lprCreatedBy %>
  152.     <tr<%= tblLPR.lprCreatedBy.RowAttributes %>>
  153.         <td class="ewTableHeader">Created By</td>
  154.         <td<%= tblLPR.lprCreatedBy.CellAttributes %>>
  155. <div<%= tblLPR.lprCreatedBy.ViewAttributes %>><%= tblLPR.lprCreatedBy.ViewValue %></div>
  156. </td>
  157.     </tr>
  158. <% End If %>
  159. <% If tblLPR.lprCreatedOn.Visible Then ' lprCreatedOn %>
  160.     <tr<%= tblLPR.lprCreatedOn.RowAttributes %>>
  161.         <td class="ewTableHeader">Created On</td>
  162.         <td<%= tblLPR.lprCreatedOn.CellAttributes %>>
  163. <div<%= tblLPR.lprCreatedOn.ViewAttributes %>><%= tblLPR.lprCreatedOn.ViewValue %></div>
  164. </td>
  165.     </tr>
  166. <% End If %>
  167. <% If tblLPR.lprModifiedBy.Visible Then ' lprModifiedBy %>
  168.     <tr<%= tblLPR.lprModifiedBy.RowAttributes %>>
  169.         <td class="ewTableHeader">Modified By</td>
  170.         <td<%= tblLPR.lprModifiedBy.CellAttributes %>>
  171. <div<%= tblLPR.lprModifiedBy.ViewAttributes %>><%= tblLPR.lprModifiedBy.ViewValue %></div>
  172. </td>
  173.     </tr>
  174. <% End If %>
  175. <% If tblLPR.lprModifiedOn.Visible Then ' lprModifiedOn %>
  176.     <tr<%= tblLPR.lprModifiedOn.RowAttributes %>>
  177.         <td class="ewTableHeader">Modified On</td>
  178.         <td<%= tblLPR.lprModifiedOn.CellAttributes %>>
  179. <div<%= tblLPR.lprModifiedOn.ViewAttributes %>><%= tblLPR.lprModifiedOn.ViewValue %></div>
  180. </td>
  181.     </tr>
  182. <% End If %>
  183. </table>
  184. </div>
  185. </td></tr></table>
  186. <p />
  187. <% If tblLPR.Export = "" Then %>
  188. <script language="JavaScript" type="text/javascript">
  189. <!--
  190. // Write your table-specific startup script here
  191. // document.write("page loaded");
  192. //-->
  193. </script>
  194. <% End If %>
  195. </asp:Content>
  196.