home *** CD-ROM | disk | FTP | other *** search
/ 66.142.0.142 / 66.142.0.142.tar / 66.142.0.142 / tblEventsview.aspx < prev    next >
Text File  |  2015-05-13  |  5KB  |  121 lines

  1. <%@ Page Language="VB" MasterPageFile="masterpage.master" AutoEventWireup="false" CodeFile="tblEventsview.aspx.vb" Inherits="tblEventsview" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
  2. <asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
  3. <% If tblEvents.Export = "" Then %>
  4. <script type="text/javascript">
  5. <!--
  6. // Create page object
  7. var tblEvents_view = new ew_Page("tblEvents_view");
  8. // page properties
  9. tblEvents_view.PageID = "view"; // page ID
  10. var EW_PAGE_ID = tblEvents_view.PageID; // for backward compatibility
  11. <% If EW_CLIENT_VALIDATE Then %>
  12. tblEvents_view.ValidateRequired = true; // uses JavaScript validation
  13. <% Else %>
  14. tblEvents_view.ValidateRequired = false; // no JavaScript validation
  15. <% End If %>
  16. //-->
  17. </script>
  18. <script language="JavaScript" type="text/javascript">
  19. <!--
  20. // Write your client script here, no need to add script tags.
  21. // To include another .js script, use:
  22. // ew_ClientScriptInclude("my_javascript.js"); 
  23. //-->
  24. </script>
  25. <% End If %>
  26. <p><span class="aspnetmaker">View TABLE: Events
  27. <br /><br />
  28. <% If tblEvents.Export = "" Then %>
  29. <a href="tblEventslist.aspx">Back to List</a> 
  30. <% If Security.CanAdd Then %>
  31. <a href="<%= tblEvents.AddUrl %>">Add</a> 
  32. <% End If %>
  33. <% If Security.CanEdit Then %>
  34. <a href="<%= tblEvents.EditUrl %>">Edit</a> 
  35. <% End If %>
  36. <% If Security.CanDelete Then %>
  37. <a href="<%= tblEvents.DeleteUrl %>">Delete</a> 
  38. <% End If %>
  39. <% End If %>
  40. </span></p>
  41. <% tblEvents_view.ShowMessage() %>
  42. <p />
  43. <table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
  44. <div class="ewGridMiddlePanel">
  45. <table cellspacing="0" class="ewTable">
  46. <% If tblEvents.evtDescription.Visible Then ' evtDescription %>
  47.     <tr<%= tblEvents.evtDescription.RowAttributes %>>
  48.         <td class="ewTableHeader">Description</td>
  49.         <td<%= tblEvents.evtDescription.CellAttributes %>>
  50. <div<%= tblEvents.evtDescription.ViewAttributes %>><%= tblEvents.evtDescription.ViewValue %></div>
  51. </td>
  52.     </tr>
  53. <% End If %>
  54.  
  55.     <% If tblEvents.evtIsActive.Visible Then ' evtIsActive %>
  56.     <tr<%= tblEvents.evtIsActive.RowAttributes%>>
  57.         <td class="ewTableHeader">Is Active</td>
  58.         <td<%= tblEvents.evtIsActive.CellAttributes%>>
  59. <% If Convert.ToString(tblEvents.evtIsActive.CurrentValue) = "1" Then%>
  60. <input type="checkbox" value="<%= tblEvents.evtIsActive.ViewValue%>" checked onclick="this.form.reset();" disabled="disabled" />
  61. <% Else %>
  62. <input type="checkbox" value="<%= tblEvents.evtIsActive.ViewValue%>" onclick="this.form.reset();" disabled="disabled" />
  63. <% End If %></td>
  64.     </tr>
  65. <% End If %>
  66.  
  67.  
  68.     <% If tblEvents.evtAllocateBilling.Visible Then ' evtAllocateBilling %>
  69.     <tr<%= tblEvents.evtAllocateBilling.RowAttributes%>>
  70.         <td class="ewTableHeader">Allocate Billing</td>
  71.         <td<%= tblEvents.evtAllocateBilling.CellAttributes%>>
  72. <% If Convert.ToString(tblEvents.evtAllocateBilling.CurrentValue) = "1" Then%>
  73. <input type="checkbox" value="<%= tblEvents.evtAllocateBilling.ViewValue%>" checked onclick="this.form.reset();" disabled="disabled" />
  74. <% Else %>
  75. <input type="checkbox" value="<%= tblEvents.evtAllocateBilling.ViewValue%>" onclick="this.form.reset();" disabled="disabled" />
  76. <% End If %></td>
  77.     </tr>
  78. <% End If %>
  79.  
  80. <% If tblEvents.evtBillingNotes.Visible Then ' evtBillingNotes %>
  81.     <tr<%= tblEvents.evtBillingNotes.RowAttributes%>>
  82.         <td class="ewTableHeader">Billing Notes</td>
  83.         <td<%= tblEvents.evtBillingNotes.CellAttributes%>>
  84. <div<%= tblEvents.evtBillingNotes.ViewAttributes%>><%= tblEvents.evtBillingNotes.ViewValue%></div>
  85. </td>
  86.     </tr>
  87. <% End If %>
  88.     
  89.     <% If tblEvents.evtTierLevel.Visible Then ' evtTierLevel %>
  90.     <tr<%= tblEvents.evtTierLevel.RowAttributes%>>
  91.         <td class="ewTableHeader">Tier Level</td>
  92.         <td<%= tblEvents.evtTierLevel.CellAttributes%>>
  93. <div<%= tblEvents.evtTierLevel.ViewAttributes%>><%= tblEvents.evtTierLevel.ViewValue%></div>
  94. </td>
  95.     </tr>
  96. <% End If %>
  97.  
  98.     <% If tblEvents.evtOverTimePriority.Visible Then ' evtOverTimePriority %>
  99.     <tr<%= tblEvents.evtOverTimePriority.RowAttributes%>>
  100.         <td class="ewTableHeader">Overtime Priority</td>
  101.         <td<%= tblEvents.evtOverTimePriority.CellAttributes%>>
  102. <div<%= tblEvents.evtOverTimePriority.ViewAttributes%>><%= tblEvents.evtOverTimePriority.ViewValue%></div>
  103. </td>
  104.     </tr>
  105. <% End If %>
  106.  
  107.  
  108. </table>
  109. </div>
  110. </td></tr></table>
  111. <p />
  112. <% If tblEvents.Export = "" Then %>
  113. <script language="JavaScript" type="text/javascript">
  114. <!--
  115. // Write your table-specific startup script here
  116. // document.write("page loaded");
  117. //-->
  118. </script>
  119. <% End If %>
  120. </asp:Content>
  121.