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

  1. <%@ Page Language="VB" MasterPageFile="masterpage.master" AutoEventWireup="false" CodeFile="tblLocationsview.aspx.vb" Inherits="tblLocationsview" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
  2. <asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
  3. <% If tblLocations.Export = "" Then %>
  4. <script type="text/javascript">
  5. <!--
  6. // Create page object
  7. var tblLocations_view = new ew_Page("tblLocations_view");
  8. // page properties
  9. tblLocations_view.PageID = "view"; // page ID
  10. var EW_PAGE_ID = tblLocations_view.PageID; // for backward compatibility
  11. <% If EW_CLIENT_VALIDATE Then %>
  12. tblLocations_view.ValidateRequired = true; // uses JavaScript validation
  13. <% Else %>
  14. tblLocations_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: Locations
  27. <br /><br />
  28. <% If tblLocations.Export = "" Then %>
  29. <a href="tblLocationslist.aspx">Back to List</a> 
  30. <% If Security.CanAdd Then %>
  31. <a href="<%= tblLocations.AddUrl %>">Add</a> 
  32. <% End If %>
  33. <% If Security.CanEdit Then %>
  34. <a href="<%= tblLocations.EditUrl %>">Edit</a> 
  35. <% End If %>
  36. <% If Security.CanDelete Then %>
  37. <a href="<%= tblLocations.DeleteUrl %>">Delete</a> 
  38. <% End If %>
  39. <% End If %>
  40. </span></p>
  41. <% tblLocations_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 tblLocations.locDescription.Visible Then ' locDescription %>
  47.     <tr<%= tblLocations.locDescription.RowAttributes %>>
  48.         <td class="ewTableHeader">Description</td>
  49.         <td<%= tblLocations.locDescription.CellAttributes %>>
  50. <div<%= tblLocations.locDescription.ViewAttributes %>><%= tblLocations.locDescription.ViewValue %></div>
  51. </td>
  52.     </tr>
  53. <% End If %>
  54. <% If tblLocations.locLighting.Visible Then ' locLighting %>
  55.     <tr<%= tblLocations.locLighting.RowAttributes %>>
  56.         <td class="ewTableHeader">loc Lighting</td>
  57.         <td<%= tblLocations.locLighting.CellAttributes %>>
  58. <% If Convert.ToString(tblLocations.locLighting.CurrentValue) = "1" Then %>
  59. <input type="checkbox" value="<%= tblLocations.locLighting.ViewValue %>" checked onclick="this.form.reset();" disabled="disabled" />
  60. <% Else %>
  61. <input type="checkbox" value="<%= tblLocations.locLighting.ViewValue %>" onclick="this.form.reset();" disabled="disabled" />
  62. <% End If %></td>
  63.     </tr>
  64. <% End If %>
  65. </table>
  66. </div>
  67. </td></tr></table>
  68. <p />
  69. <% If tblLocations.Export = "" Then %>
  70. <script language="JavaScript" type="text/javascript">
  71. <!--
  72. // Write your table-specific startup script here
  73. // document.write("page loaded");
  74. //-->
  75. </script>
  76. <% End If %>
  77. </asp:Content>
  78.