home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 December / PCWorld_2004-12_cd.bin / software / komercni / netgenium / NETGenium.msi / _B4A5F9DE730F039E0CBFC30C1A8A8467 / _CA889D2882FB4719A6D0F633AEB3442A < prev    next >
Text File  |  2004-10-01  |  10KB  |  182 lines

  1. <%@ Page language="c#" Codebehind="DataGrid.aspx.cs" AutoEventWireup="false" Inherits="NETGenium.Columns.DataGrid_Control" %>
  2. <%@ Register TagPrefix="uc1" TagName="MultiListBox" Src="../MultiListBox.ascx" %>
  3. <%@ Register TagPrefix="uc1" TagName="QueryBuilder" Src="../QueryBuilder.ascx" %>
  4. <%@ Register TagPrefix="uc1" TagName="Rights" Src="_Rights.ascx" %>
  5. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  6. <HTML>
  7.     <HEAD>
  8.         <title>DataGrid</title>
  9.         <LINK href="../NETGenium.css" type="text/css" rel="stylesheet">
  10.         <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  11.         <meta content="C#" name="CODE_LANGUAGE">
  12.         <meta content="JavaScript" name="vs_defaultClientScript">
  13.         <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  14.     </HEAD>
  15.     <body onload="jsOnLoad();">
  16.         <form id="Default" method="post" runat="server">
  17.             <TABLE id="Table1" accessKey="" cellSpacing="0" cellPadding="0" border="0" runat="server">
  18.                 <TR>
  19.                     <TD>
  20.                         <asp:Literal id="lTitle" runat="server" EnableViewState="False"></asp:Literal></TD>
  21.                 </TR>
  22.                 <TR>
  23.                     <TD><asp:table id="HeaderTable" runat="server" CellPadding="0" CellSpacing="0" Width="100%" EnableViewState="False"></asp:table></TD>
  24.                 </TR>
  25.                 <TR>
  26.                     <TD class="HeaderTableBody">
  27.                         <TABLE id="Table2" cellSpacing="0" cellPadding="0" border="0" runat="server">
  28.                             <TR>
  29.                                 <TD class="DialogLeft" vAlign="top"><asp:label id="lblName" runat="server" EnableViewState="False"></asp:label></TD>
  30.                                 <TD class="DialogMiddle"><asp:textbox id="tbName" runat="server" Width="210px" CssClass="TextBox" MaxLength="50"></asp:textbox></TD>
  31.                                 <TD class="DialogRight"></TD>
  32.                             </TR>
  33.                             <TR>
  34.                                 <TD class="DialogLeft" vAlign="top"><asp:label id="lblWidth" runat="server" EnableViewState="False"></asp:label></TD>
  35.                                 <TD class="DialogMiddle">
  36.                                     <asp:textbox id="tbWidth" runat="server" Width="60px" CssClass="TextBox" MaxLength="10"></asp:textbox> px</TD>
  37.                                 <TD class="DialogRight"></TD>
  38.                             </TR>
  39.                             <TR>
  40.                                 <TD class="DialogLeft" vAlign="top"><asp:label id="lblQuery" runat="server" EnableViewState="False"></asp:label></TD>
  41.                                 <TD class="DialogMiddle"><uc1:querybuilder id="QueryBuilder1" runat="server"></uc1:querybuilder></TD>
  42.                                 <TD class="DialogRight"></TD>
  43.                             </TR>
  44.                             <TR>
  45.                                 <TD class="DialogLeft_CheckBox" vAlign="top">
  46.                                     <asp:Label id="lblOptions" runat="server" EnableViewState="False"></asp:Label></TD>
  47.                                 <TD class="DialogMiddle">
  48.                                     <asp:CheckBox id="chbExcelImport" runat="server" CssClass="CheckBox" Text="Microsoft Excel Import"></asp:CheckBox></TD>
  49.                                 <TD class="DialogRight"></TD>
  50.                             </TR>
  51.                             <TR>
  52.                                 <TD class="DialogLeft_CheckBox" vAlign="top"></TD>
  53.                                 <TD class="DialogMiddle">
  54.                                     <asp:checkbox id="chbReadOnly" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  55.                                 <TD class="DialogRight"></TD>
  56.                             </TR>
  57.                             <TR>
  58.                                 <TD class="DialogLeft_CheckBox" vAlign="top">
  59.                                     <asp:label id="lblOptions_" runat="server" EnableViewState="False"></asp:label></TD>
  60.                                 <TD class="DialogMiddle">
  61.                                     <asp:checkbox id="chbShowGrid_" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  62.                                 <TD class="DialogRight"></TD>
  63.                             </TR>
  64.                             <TR>
  65.                                 <TD class="DialogLeft_CheckBox" vAlign="top"></TD>
  66.                                 <TD class="DialogMiddle">
  67.                                     <asp:checkbox id="chbShowFooter_" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  68.                                 <TD class="DialogRight"></TD>
  69.                             </TR>
  70.                         </TABLE>
  71.                         <TABLE id="Table3" cellSpacing="0" cellPadding="0" border="0" runat="server">
  72.                             <TR>
  73.                                 <TD class="DialogLeft_CheckBox" vAlign="top">
  74.                                     <asp:label id="lblOptions1" runat="server" EnableViewState="False"></asp:label></TD>
  75.                                 <TD class="DialogMiddle">
  76.                                     <asp:checkbox id="chbShowFilters" runat="server" CssClass="CheckBox" onclick="jsOnLoad();"></asp:checkbox></TD>
  77.                                 <TD class="DialogRight"></TD>
  78.                             </TR>
  79.                             <TR>
  80.                                 <TD class="DialogLeft_CheckBox" vAlign="top"></TD>
  81.                                 <TD class="DialogMiddle">
  82.                                     <asp:checkbox id="chbUseFilterAtOnce" runat="server" CssClass="CheckBox2"></asp:checkbox></TD>
  83.                                 <TD class="DialogRight"></TD>
  84.                             </TR>
  85.                             <TR>
  86.                                 <TD class="DialogLeft_CheckBox" vAlign="top"></TD>
  87.                                 <TD class="DialogMiddle">
  88.                                     <asp:checkbox id="chbShowGrid" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  89.                                 <TD class="DialogRight"></TD>
  90.                             </TR>
  91.                             <TR>
  92.                                 <TD class="FormLeft" vAlign="top">
  93.                                     <asp:Literal id="s1_" runat="server" EnableViewState="False"></asp:Literal></TD>
  94.                                 <TD vAlign="top">
  95.                                     <asp:Literal id="s2_" runat="server" EnableViewState="False"></asp:Literal></TD>
  96.                                 <TD class="FormRight" vAlign="top">
  97.                                     <asp:Literal id="s3_" runat="server" EnableViewState="False"></asp:Literal></TD>
  98.                             </TR>
  99.                             <TR>
  100.                                 <TD class="DialogLeft" vAlign="top">
  101.                                     <asp:label id="lblColumns1" runat="server" EnableViewState="False"></asp:label></TD>
  102.                                 <TD class="DialogMiddle">
  103.                                     <uc1:multilistbox id="GridColumns" runat="server"></uc1:multilistbox></TD>
  104.                                 <TD class="DialogRight"></TD>
  105.                             </TR>
  106.                         </TABLE>
  107.                         <TABLE id="Table4" cellSpacing="0" cellPadding="0" border="0" runat="server">
  108.                             <TR>
  109.                                 <TD class="DialogLeft_CheckBox" vAlign="top">
  110.                                     <asp:label id="lblOptions2" runat="server" EnableViewState="False"></asp:label></TD>
  111.                                 <TD class="DialogMiddle">
  112.                                     <asp:checkbox id="chbBrowse" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  113.                                 <TD class="DialogRight"></TD>
  114.                             </TR>
  115.                             <TR>
  116.                                 <TD class="DialogLeft_CheckBox" vAlign="top"></TD>
  117.                                 <TD class="DialogMiddle">
  118.                                     <asp:checkbox id="chbShowToolTip" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  119.                                 <TD class="DialogRight"></TD>
  120.                             </TR>
  121.                             <TR>
  122.                                 <TD class="FormLeft" vAlign="top">
  123.                                     <asp:Literal id="s1" runat="server" EnableViewState="False"></asp:Literal></TD>
  124.                                 <TD vAlign="top">
  125.                                     <asp:Literal id="s2" runat="server" EnableViewState="False"></asp:Literal></TD>
  126.                                 <TD class="FormRight" vAlign="top">
  127.                                     <asp:Literal id="s3" runat="server" EnableViewState="False"></asp:Literal></TD>
  128.                             </TR>
  129.                             <TR>
  130.                                 <TD class="DialogLeft" vAlign="top">
  131.                                     <asp:label id="lblColumns2" runat="server" EnableViewState="False"></asp:label></TD>
  132.                                 <TD class="DialogMiddle"><uc1:multilistbox id="DetailColumns" runat="server"></uc1:multilistbox></TD>
  133.                                 <TD class="DialogRight"></TD>
  134.                             </TR>
  135.                         </TABLE>
  136.                         <TABLE id="Table5" cellSpacing="0" cellPadding="0" border="0" runat="server">
  137.                             <TR>
  138.                                 <TD class="DialogLeft_CheckBox" vAlign="top" align="left">
  139.                                     <asp:Label id="lblOptions3" runat="server" EnableViewState="False"></asp:Label></TD>
  140.                                 <TD class="DialogMiddle" vAlign="top" align="left">
  141.                                     <asp:checkbox id="chbShowUpperToolbar" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  142.                                 <TD class="DialogRight" vAlign="top" align="left"></TD>
  143.                             </TR>
  144.                             <TR>
  145.                                 <TD class="DialogLeft_CheckBox" vAlign="top" align="left"></TD>
  146.                                 <TD class="DialogMiddle" vAlign="top" align="left">
  147.                                     <asp:checkbox id="chbShowFooter" runat="server" CssClass="CheckBox"></asp:checkbox></TD>
  148.                                 <TD class="DialogRight" vAlign="top" align="left"></TD>
  149.                             </TR>
  150.                         </TABLE>
  151.                         <uc1:rights id="Rights1" runat="server"></uc1:rights></TD>
  152.                 </TR>
  153.                 <TR>
  154.                     <TD>
  155.                         <TABLE id="ToolbarTable" style="MARGIN-TOP: 7px" cellSpacing="0" cellPadding="0" width="100%"
  156.                             border="0" runat="server">
  157.                             <TR>
  158.                                 <TD align="center">
  159.                                     <asp:Button id="btSave" runat="server" Width="85px" CssClass="Button"></asp:Button>
  160.                                     <asp:Button id="btDelete" runat="server" Width="85px" CssClass="Button" Enabled="False" CausesValidation="False"></asp:Button></TD>
  161.                             </TR>
  162.                             <TR>
  163.                                 <TD align="left">
  164.                                     <asp:label id="lblWait" runat="server"></asp:label></TD>
  165.                             </TR>
  166.                         </TABLE>
  167.                     </TD>
  168.                 </TR>
  169.             </TABLE>
  170.             <TABLE class="Hidden" cellSpacing="1" cellPadding="1" border="1">
  171.                 <TR>
  172.                     <TD><INPUT id="hfHeader" type="hidden" value="0" runat="server">
  173.                         <asp:label id="lblHeaderJavaScript" runat="server" EnableViewState="False"></asp:label><asp:requiredfieldvalidator id="rfvName" runat="server" Display="None" ControlToValidate="tbName" EnableViewState="False"></asp:requiredfieldvalidator><asp:requiredfieldvalidator id="rfvQuery" runat="server" Display="None" EnableViewState="False"></asp:requiredfieldvalidator><asp:rangevalidator id="rvQuery" runat="server" Display="None" Type="Integer" MaximumValue="1000000000"
  174.                             MinimumValue="1" EnableViewState="False"></asp:rangevalidator><asp:rangevalidator id="rvWidth" runat="server" Display="None" ControlToValidate="tbWidth" Type="Integer"
  175.                             MaximumValue="1000" MinimumValue="10" EnableViewState="False"></asp:rangevalidator><asp:validationsummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True"
  176.                             EnableViewState="False"></asp:validationsummary><asp:literal id="lJavaScript" runat="server" EnableViewState="False"></asp:literal></TD>
  177.                 </TR>
  178.             </TABLE>
  179.         </form>
  180.     </body>
  181. </HTML>
  182.