%@ Page Language="VB" AutoEventWireup="false" CodeFile="Daily.aspx.vb" Inherits="Daily" %> <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register Assembly="RJS.Web.WebControl.PopCalendar" Namespace="RJS.Web.WebControl" TagPrefix="rjs" %> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Daily Fuel Log</title> <style type="text/css" media="print"> ..noprint {DISPLAY: none} </style> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <center> <asp:Menu ID="MenuAvDaily" CssClass="noprint" runat="server" Orientation="Horizontal"> <StaticMenuStyle BackColor="#0066CC" BorderColor="#0066CC" BorderStyle="Outset" HorizontalPadding="10px" VerticalPadding="4px" /> <StaticMenuItemStyle BackColor="#0066CC" BorderStyle="None" BorderWidth="0px" Font-Size="Smaller" ForeColor="White" /> <DynamicHoverStyle Font-Bold="True" /> <Items> <asp:MenuItem NavigateUrl="~/NewAircraft.aspx" Text="Planes" Value="Planes"></asp:MenuItem> <asp:MenuItem Text="Reports" Value="Reports" Selectable="False"> <asp:MenuItem Text="Bulk Plant" Value="Daily" NavigateUrl="~/ReportBulkPlant.aspx"></asp:MenuItem> <asp:MenuItem Text="Monthly" Value="Fuel Report" NavigateUrl="~/ReportFuelByPlane.aspx"></asp:MenuItem> <asp:MenuItem Text="Fuel Used" Value="Fuel Used" NavigateUrl="~/ReportFuelUsed.aspx"></asp:MenuItem> <asp:MenuItem Text="Fuel Received" Value="Fuel Received" NavigateUrl="~/ReportFuelReceived.aspx"></asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="Exit" Value="Exit"></asp:MenuItem> </Items> <StaticHoverStyle Font-Bold="True" /> </asp:Menu> </center> <center> <asp:Label ID="Label1" runat="server" Text="My Aviation Daily Fuel Log" ForeColor="#0066CC" Font-Bold="True" Font-Size="X-Large" Font-Underline="True" ></asp:Label> </center> telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="EntityDataSourceCustomers" GridLines="None" AllowPaging="True" AllowAutomaticUpdates="True" AllowAutomaticInserts="True" AllowSorting="true" Width="750px" OnItemCreated="RadGrid1_ItemCreated"> <PagerStyle Mode="NextPrevAndNumeric" /> <MasterTableView DataSourceID="EntityDataSourceCustomers" AutoGenerateColumns="False" DataKeyNames="PK" CommandItemDisplay="Top"> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn DataField="PK" HeaderText="PK" SortExpression="PK" UniqueName="PK" Visible="false" MaxLength="5"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Plane" HeaderText="Plane" SortExpression="Plane" UniqueName="Plane"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Fuel" HeaderText="Fuel" SortExpression="Fuel" UniqueName="Fuel"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Total" HeaderText="Total" SortExpression="Total" UniqueName="Total"> </telerik:GridBoundColumn> <%--<telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" SortExpression="Phone" UniqueName="Phone"> </telerik:GridBoundColumn> --%> </Columns> <EditFormSettings> <EditColumn ButtonType="ImageButton" /> </EditFormSettings> </MasterTableView> </telerik:RadGrid> <center> <br /> <%-- <clientsettings allowcolumnsreorder="True" allowdragtogroup="True"> </clientsettings> <mastertableview autogeneratecolumns="false" commanditemdisplay="Bottom" datakeynames="PK" editmode="InPlace"> <editformsettings captiondatafield="PK" captionformatstring="Edit Connection: {0}" insertcaption="Add New Connection" popupsettings-modal="true"> <editcolumn uniquename="EditCommandColumn1"></editcolumn> <popupsettings modal="True"></popupsettings> </editformsettings> <rowindicatorcolumn> <HeaderStyle Width="20px"></HeaderStyle> </rowindicatorcolumn> <commanditemsettings exporttopdftext="Export to Pdf"></commanditemsettings> <expandcollapsecolumn visible="True"> </expandcollapsecolumn> <Columns> <telerik:GridBoundColumn DataField="Plane" HeaderText="Plane" ReadOnly="true" SortExpression="Key" UniqueName="Plane" Visible="false" FilterControlAltText="Filter Plane column"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Fuel" HeaderText="Fuel" ReadOnly="true" SortExpression="Fuel" UniqueName="Fuel" FilterControlAltText="Filter Fuel column"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Total" HeaderText="Total" ReadOnly="true" SortExpression="Total" UniqueName="Total" FilterControlAltText="Filter Total column"> </telerik:GridBoundColumn> <telerik:GridTemplateColumn AllowFiltering="False" AndCurrentFilterFunction="Contains" AutoPostBackOnFilter="True" ColumnEditorID="Inventory" CurrentFilterFunction="Contains" DataField="Inventory" DataType="System.String" FilterControlAltText="Filter Inventory column" HeaderText="Inventory" UniqueName="Inventory"> <EditItemTemplate> <telerik:RadTextBox ID="txtDecryptedString" runat="server" AllowCustomText="true" EnableLoadOnDemand="true" EnableScreenBoundaryDetection="true" Filter="contains" HighlightTemplatedItems="true" MarkFirstMatch="false" Text='<%# Bind("Inventory") %>' Width="100%"> </telerik:RadTextBox> </EditItemTemplate> <ItemTemplate> <div style="text-align: left"> <asp:Label ID="Label2" runat="server" style="text-align:left" Text='<%# Bind("Inventory") %>'></asp:Label></div> </ItemTemplate> <HeaderStyle Width="100%" /> </telerik:GridTemplateColumn> </Columns> <commanditemsettings exporttopdftext="Export to PDF" /> <rowindicatorcolumn filtercontrolalttext="Filter RowIndicator column"> <HeaderStyle Width="20px" /> </rowindicatorcolumn> <expandcollapsecolumn filtercontrolalttext="Filter ExpandColumn column"> <HeaderStyle Width="20px" /> </expandcollapsecolumn> <editformsettings> <editcolumn filtercontrolalttext="Filter EditCommandColumn column"> </editcolumn> </editformsettings> </mastertableview> <filtermenu enableimagesprites="False"> </filtermenu> <headercontextmenu cssclass="GridContextMenu GridContextMenu_Default"> </headercontextmenu> </telerik:RadGrid> </center>--%> <%--<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Web20" GridLines="None" AllowPaging="True" AllowSorting="True" Width="100%" OnNeedDataSource="RadGrid1_NeedDataSource" OnDeleteCommand="RadGrid1_DeleteCommand" OnInsertCommand="RadGrid1_InsertCommand" OnUpdateCommand="RadGrid1_UpdateCommand" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowFilteringByColumn="True" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" CellSpacing="0" ShowGroupPanel="True" AutoGenerateColumns="False"> <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle> <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True"> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> <MasterTableView DataKeyNames="PK" GridLines="None" Width="100%" CommandItemDisplay="Top"> <Columns> <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="Delete"> </telerik:GridButtonColumn> <telerik:GridBoundColumn DataField="PK" HeaderText="PK" UniqueName="PK" ReadOnly="True"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Date" HeaderText="Date" UniqueName="Date"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Fuel" HeaderText="Fuel" UniqueName="Fuel"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Gross" HeaderText="Gross" UniqueName="Gross"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Invoice" HeaderText="Invoice" UniqueName="Invoice"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Plane" HeaderText="Aircraft" UniqueName="Plane"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Inventory" HeaderText="Inventory" UniqueName="Inventory"> </telerik:GridBoundColumn> <telerik:GridEditCommandColumn> </telerik:GridEditCommandColumn> </Columns> <EditFormSettings ColumnNumber="2" CaptionFormatString="Edit details for Fuel for PK with ID {0}" CaptionDataField="PK"> <FormTableItemStyle Wrap="False"></FormTableItemStyle> <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle> <FormMainTableStyle CellSpacing="0" CellPadding="3" Width="100%" /> <FormTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="2" CssClass="module" Height="110px" Width="100%" /> <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle> <FormStyle Width="100%" BackColor="#EEF2EA"></FormStyle> <EditColumn UpdateText="Update record" UniqueName="EditCommandColumn1" CancelText="Cancel edit"> </EditColumn> <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle> </EditFormSettings> <ExpandCollapseColumn Visible="False"> <HeaderStyle Width="19px"></HeaderStyle> </ExpandCollapseColumn> <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings> <RowIndicatorColumn Visible="False"> <HeaderStyle Width="20px" /> </RowIndicatorColumn> </MasterTableView> <FilterMenu EnableImageSprites="False"></FilterMenu> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Web20"></HeaderContextMenu> </telerik:RadGrid> %> </form> </body> </html>