<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Renewal.aspx.cs" Inherits="Renewal" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { width: 51%; } .style5 { width: 130px; } .style10 { width: 86px; } .style11 { font-family: "Helvetica Neue" , "Lucida Grande" , "Segoe UI" , Arial, Helvetica, Verdana, sans-serif; } .style13 { width: 79px; height: 17px; } .style14 { height: 17px; width: 399px; } .style15 { height: 17px; } .style16 { width: 130px; height: 17px; } .style17 { width: 167px; height: 17px; } .style19 { width: 79px; } .style20 { width: 79px; font-weight: bold; } .style21 { width: 130px; font-weight: bold; } .style23 { width: 167px; } .style24 { width: 399px; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <h2>Batch Renewal</h2> <br /> <table class="style2"> <tr> <td class="style20"> JAMATKHANA:</td> <td class="style24"> <asp:DropDownList ID="ddlJamatkhana" runat="server" AppendDataBoundItems="True" DataSourceID="adsJK" DataTextField="JKName" DataValueField="JKID" Width="205px" Height="20px" TabIndex="3" CssClass="eitField"> <asp:ListItem Value="0">- Select Jamatkhana -</asp:ListItem> </asp:DropDownList> <asp:RequiredFieldValidator ID="RequiredFieldValidatorJK" runat="server" ControlToValidate="ddlJamatkhana" CssClass="failureNotification" Display="Dynamic" ErrorMessage="Jamatkhana is required to be associated with a batch." InitialValue="0">*</asp:RequiredFieldValidator> </td> <td> </td> <td class="style21" style="border-width: 1px"> BATCH SUMMARY:</td> <td class="style23" style="border-width: 1px"> </td> </tr> <tr> <td class="style19"> </td> <td class="style24"> </td> <td> </td> <td class="style5" style="border-width: 1px"> Cash Total:</td> <td class="style23" style="border-width: 1px"> <asp:Label ID="lblSummaryCash" runat="server" Text="$0.00" CssClass="bold"></asp:Label></td> </tr> <tr> <td class="style13"> </td> <td class="style14"> </td> <td class="style15"> </td> <td class="style16" style="border-width: 1px"> Cheques Total:</td> <td class="style17" style="border-width: 1px"> <asp:Label ID="lblSummaryCheque" runat="server" Text="$0.00" CssClass="bold"></asp:Label></td> </tr> <tr> <td class="style19"> </td> <td class="style24"> </td> <td> </td> <td class="style5" style="border-width: 1px"> Batch Total:</td> <td class="style23" style="border-width: 1px"> <asp:Label ID="lblSummaryTotal" runat="server" Text="$0.00" CssClass="bold"> </asp:Label></td> </tr> <tr> <td class="style20" valign="top"> COMMENTS:</td> <td class="style24"> <asp:TextBox ID="txtboxBatchComments" runat="server" CssClass="style11" Height="71px" TextMode="MultiLine" Width="339px"></asp:TextBox> <asp:TextBoxWatermarkExtender ID="txtboxBatchComments_TextBoxWatermarkExtender" runat="server" Enabled="True" TargetControlID="txtboxBatchComments" WatermarkCssClass="watermarked" WatermarkText="Enter Batch Renewal comment (optional)."> </asp:TextBoxWatermarkExtender> </td> <td> </td> <td class="style5"> </td> <td class="style23"> </td> </tr> </table> <%--<div style="float:left; width:"100%">--%> <h3>Batch Cart:</h3> <table> <tr> <td> </td> <td> </td> <td class="style10"> </td> </tr> <tr> <td> <asp:ListBox ID="lbBatchRenewal" runat="server" Rows="20" Width="690px" CssClass="eitField"></asp:ListBox> </td> <td> </td> <td class="style10"> <asp:Button ID="btnRemoveItem" runat="server" Text="Remove Item" Width="94px" onclick="btnRemoveItem_Click" CausesValidation="False" CssClass="eitField" /> <br /> <br /> <br /> <br /> <br /> <asp:Button ID="btnEmptyCart" runat="server" Text="Empty Cart" Width="94px" onclick="btnEmptyCart_Click" CausesValidation="False" CssClass="eitField" /> <br /> <br /> <br /> <br /> <br /> <asp:Button ID="btnRenew" runat="server" Text="Renew" Width="94px" onclick="btnRenew_Click" CssClass="eitField" /> </td> </tr> <tr> <td> <asp:Label ID="lblInfoMessage" runat="server" CssClass="failureNotification"></asp:Label> </td> <td> </td> <td class="style10"> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="failureNotification" HeaderText="Batch Renewal Validation Errors:" /> </td> <td> </td> <td class="style10"> </td> </tr> </table> <asp:AccessDataSource ID="adsJK" runat="server" DataFile="~/App_Data/Burial.mdb" SelectCommand="SELECT [JKID], [JKName] FROM [Jamatkhana]"></asp:AccessDataSource> </ContentTemplate> </asp:UpdatePanel> <%-- </div>--%> </asp:Content>