I am using the AJAX Toolkit MaskedEditExtender to format some of my web form's textboxes. When I load the page and start to enter data into the textboxes, the masking doesn't show. Any ideas on why this is happening? I've included my page code below:
<%@ Page Language="VB" AutoEventWireup="false" Inherits="GrantManagement.programs1" Codebehind="GrantPrograms.aspx.vb" %><%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %><%@ Register assembly="ajaxcontroltoolkit" namespace="ajaxcontroltoolkit" tagprefix="ajax" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"><title>Grant Management Database</title><link rel="Stylesheet" href="App_Themes/Styles.css" type="text/css" /></head><div id ="wrapper"><body id=" bottommargin="0" rightmargin="0" topmargin="0"><form id="form1" runat="server"><asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager><div align="center" style="text-align: left"> <table bgcolor="#cccccc" border="0" style="width: 1024px; border-left-color: black; border-bottom-color: black; border-top-style: solid; border-top-color: black; border-right-style: solid; border-left-style: solid; border-right-color: black; border-bottom-style: solid; text-align: left;"><tr><td colspan="1"><asp:Image ID="Image1" runat="server" BorderWidth="0px" ImageUrl="~/Images/Grant_Management_Bar.png" /></td></tr><tr><td style="width: 800px; height: 13px"><asp:Panel ID="pnlDataFound" runat="server"><table style="width: 800px; border-right: black thin solid; background-color: #DCDCDC; border-top: black thin solid; border-bottom: black thin solid; border-left: black thin solid;" border="0" align="center"><tr><td style="height: 21px;"><span style="font-family: Calibri">Step 3 of 3</span></td></tr><tr><td style="border-left-color: black; border-bottom-color: black; border-top-style: none; border-top-color: black; border-right-style: none; border-left-style: none; border-right-color: black; border-bottom-style: none"
align="center"> <br /><table width="800"><tr><td style="text-align: left" valign="top" width="400"><span style="font-family: Calibri">Instructions:</span></td><td align="left" width="400"><span style="font-family: Calibri">Program List</span></td></tr><tr><td style="text-align: left; border-right: black thin solid; padding-right: 5px; border-top: black thin solid; padding-left: 5px; padding-bottom: 5px; border-left: black thin solid; padding-top: 5px; border-bottom: black thin solid;" valign="top" width="400"><span style="font-family: Calibri">
1. To view - Select a program from the Program List
and view the details of the program in the table below.<br /><br />
2.
To edit - Select a program from the Program List, make changes and select the
Save button below.<br /><br />
3.
To add- Select the New button below, add the program information and select the
Save button below.</span></td><td width="400" style="border-right: black thin solid; padding-right: 5px; border-top: black thin solid; padding-left: 5px; padding-bottom: 5px; border-left: black thin solid; padding-top: 5px; border-bottom: black thin solid">
- <asp:ListBox ID="lbPrograms" runat="server" DataSourceID="DSProgramLB" DataTextField="GrantNameTitle"
Height="193px" Width="375px" AutoPostBack="True" DataValueField="ProgramID"></asp:ListBox></td></tr></table></td></tr><tr><td style="border-left-color: black; border-bottom-color: black; color: black;
border-top-style: solid; border-top-color: black; font-family: Calibri, Arial;
border-right-style: none; border-left-style: none; background-color: #F8F8FF;
border-right-color: black; border-bottom-style: solid" height="30"><span style="font-size: 14pt">
Viewing program </span><asp:Label ID="lblListBoxPosition" runat="server"></asp:Label><span style="font-size: 14pt">
of </span><asp:Label ID="lblCount" runat="server"></asp:Label></td></tr><tr><td><br /><%--JD DATALIST ITEMS--%><asp:DataList ID="DataList1" runat="server" DataSourceID="DSDataList" RepeatColumns="1" RepeatDirection="Horizontal" OnUpdateCommand="DataList1_UpdateCommand" OnDeleteCommand="DataList1_DeleteCommand" OnEditCommand="DataList1_EditCommand" DataKeyField="ProgramID" EditItemIndex="0"><EditItemTemplate><table style="width: 800px"><tr><td width="300" style="font-family: Calibri, Arial; height: 26px;" align="left">
ProgramID:</td><td width="500" style="font-family: Calibri, Arial; height: 26px;"><asp:TextBox ID="ProgramID" runat="server" Enabled="False" ReadOnly="True" Width="450px" Text='<%# Eval("ProgramID") %>' BackColor="LightGray" ForeColor="Transparent"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
EntityID:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="EntityID" runat="server" Enabled="False" ReadOnly="True" Width="450px" Text='<%# Eval("EntityID") %>' BackColor="LightGray"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Agency:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="Agency" runat="server" Text='<%# Bind("Agency") %>' Width="450px"></asp:TextBox></td><asp:RequiredFieldValidator ID="Agency_RequiredFieldValidator" ControlToValidate="Agency" ValidationGroup="Val" runat="server" ErrorMessage="Agency is required. Please enter the agency."></asp:RequiredFieldValidator></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Grant Name/Title::</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="GrantNameTitle" runat="server" Text='<%# Bind("GrantNameTitle") %>' Width="450px"></asp:TextBox></td></tr><tr><td style="font-family: Calibri, Arial;" width="300" align="left">
Grant Number:</td><td style="font-family: Calibri, Arial;" width="500"><asp:TextBox ID="GrantNumber" runat="server" Text='<%# Bind("GrantNumber") %>'
Width="450px"></asp:TextBox><%--<asp:CompareValidator ID="GrantNumber_CompareValidator" runat="server" ErrorMessage="Please enter a numeric value"
ControlToValidate="GrantNumber" Type="Integer" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
CFDA Number:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="CFDANumber" runat="server" Text='<%# Bind("CFDANumber") %>' Width="450px"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Project Period:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="ProjectPeriod" runat="server" Text='<%# Bind("ProjectPeriod") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="ProjectPeriod_MaskedEditExtender" runat="server"
CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="99/9999 - 99/9999" TargetControlID="ProjectPeriod"></ajax:MaskedEditExtender></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Total Awarded Amount:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="TotalAwardedAmount" runat="server" Text='<%# Bind("TotalAwardedAmount") %>' Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="TotalAwardedAmount_MaskedEditExtender"
runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="$999,999,999.00" TargetControlID="TotalAwardedAmount"></ajax:MaskedEditExtender><%--<asp:CompareValidator ID="TotalAwardedAmount_CompareValidator" runat="server" ErrorMessage="Please enter a currency value"
ControlToValidate="TotalAwardedAmount" Type="Currency" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial;" align="left">
Grant Expenditures Amount:</td><td width="500" style="font-family: Calibri, Arial;"><asp:TextBox ID="GrantExpendituresAmount" runat="server" Text='<%# Bind("GrantExpendituresAmount") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="GrantExpendituresAmount_MaskedEditExtender"
runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="$999,999,999.00" TargetControlID="GrantExpendituresAmount"></ajax:MaskedEditExtender><%--<asp:CompareValidator ID="GrantExpendituresAmount_CompareValidator" runat="server" ErrorMessage="Please enter a currency value"
ControlToValidate="GrantExpendituresAmount" Type="Currency" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Award Sub Recipient Amount:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="AwardSubRecipientAmount" runat="server" Text='<%# Bind("AwardSubRecipientAmount") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="AwardSubRecipientAmount_MaskedEditExtender"
runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="$999,999,999.00" TargetControlID="AwardSubRecipientAmount"></ajax:MaskedEditExtender><%--<asp:CompareValidator ID="AwardSubRecipientAmount_CompareValidator" runat="server" ErrorMessage="Please enter a currency value"
ControlToValidate="AwardSubRecipientAmount" Type="Currency" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Administrator:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="Administrator" runat="server" Text='<%# Bind("Administrator") %>'
Width="450px"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Phone:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="Phone" runat="server" Text='<%# Bind("Phone") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="Phone_MaskedEditExtender" runat="server"
CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="(999) 999-9999" MaskType="Number" TargetControlID="Phone"></ajax:MaskedEditExtender></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left">
Department/Lawson Cost Center Number:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="DepartmentCostCenterNumber" runat="server" Text='<%# Bind("DepartmentCostCenterNumber") %>'
Width="450px"></asp:TextBox></td></tr><tr><%--<td width="300" style="font-family: Calibri, Arial" align="left">
System Date:</td>--%><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="SystemDate" runat="server" Text='<%# Bind("SystemDate") %>' Width="450px" BackColor="Silver" ReadOnly="True" Visible=false></asp:TextBox></td></tr><tr><td width="300" valign="top" style="font-family: Calibri, Arial" align="left">
Comments:</td><td width="500" style="font-family: Calibri, Arial"><asp:TextBox ID="Comments" runat="server" Height="200px" Text='<%# Bind("Comments") %>'
TextMode="MultiLine" Width="450px"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left"></td><td width="500"></td></tr><tr><td width="300" style="font-family: Calibri, Arial" align="left"></td><td width="500"></td></tr><tr><td colspan="2" style="font-family: Calibri, Arial; text-align: center;" align="left"><table style="width: 800px"><tr><td colspan="3" style="text-align: center"><asp:Button ID="btnNew" runat="server" Text="New Program" Width="150px" OnClick="DataList1_ClearCommand" />
|<asp:Button ID="btnSave" runat="server" Text="Save Program" Width="150px" CommandName="Update" ValidationGroup="Val" OnClientClick="return alert('Program Saved');"/>
|<asp:Button ID="btnDelete" runat="server" Text="Delete Program" Width="150px" CommandName="Delete" OnClientClick="return confirm(' Are you sure you want to delete this program?');" /></td></tr></table> <asp:Button ID="btnMainMenu" runat="server" OnClick="btnMainMenu_Click" Text="Main Menu"
Width="150px" /><asp:Button ID="btnFinish" runat="server" OnClick="btnFinish_Click" Text="Complete Survey"
Width="150px" /></td></tr></table></EditItemTemplate><EditItemStyle BackColor="#E0E0E0" /></asp:DataList></td></tr></table></asp:Panel></td></tr><tr><td style="width: 800px; height: 71px;"><asp:Panel ID="pnlNoData" runat="server"><%--JD - TABLE DATA--%><table style="width: 800px; border-right: black thin solid; border-top: black thin solid; border-left: black thin solid; border-bottom: black thin solid;"><tr><td colspan="2" style="font-size: 12pt; font-family: Calibri, Arial; background-color: #DCDCDC;
text-align: center; border-top-width: thin; border-left-width: thin; border-left-color: black; border-top-color: black; border-bottom: black thin solid; border-right-width: thin; border-right-color: black;" height="75"><br />
Your entity does not currently have any grant programs recorded. <br />
Ple<span lang="en-us">ase</span> enter the information below and click the Save
Program button.<br /><asp:TextBox ID="ProgramID" runat="server" Enabled="False"
Text='<%# Bind("ProgramID") %>' Visible="False" Width="450px"></asp:TextBox></td></tr><tr><td height="25" style="font-family: Calibri, Arial; text-align: left" width="300"></td><td width="500"></td></tr><tr><td style="font-family: Calibri, Arial; height: 26px; text-align: left"
width="300">
Entity:</td><td style="height: 26px" width="500"><asp:TextBox ID="EntityID" runat="server" Text='<%# Bind("EntityID") %>'
Width="450px" Visible="False" MaxLength="4"></asp:TextBox></td></tr><tr><td style="font-family: Calibri, Arial; height: 26px; text-align: left"
width="300">
Awarding Agency:</td><td style="height: 26px" width="500"><asp:TextBox ID="Agency" runat="server" Text='<%# Bind("Agency") %>'
Width="450px"></asp:TextBox><asp:RequiredFieldValidator ID="Agency_RequiredFieldValidator" ControlToValidate="Agency" ValidationGroup="Val" runat="server" ErrorMessage="Agency is required. Please enter the agency."></asp:RequiredFieldValidator></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Grant Name/Title:</td><td width="500"><asp:TextBox ID="GrantNameTitle" runat="server" Text='<%# Bind("GrantNameTitle") %>'
Width="450px"></asp:TextBox></td></tr><tr><td style="font-family: Calibri, Arial; text-align: left;" width="300">
Grant Number:</td><td style="height: 25px" width="500"><asp:TextBox ID="GrantNumber" runat="server" Text='<%# Bind("GrantNumber") %>'
Width="450px"></asp:TextBox><%--<asp:CompareValidator ID="GrantNumber_CompareValidator" runat="server" ErrorMessage="Please enter a numeric value"
ControlToValidate="GrantNumber" Type="Integer" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
CFDA Number:</td><td width="500"><asp:TextBox ID="CFDANumber" runat="server" Text='<%# Bind("CFDANumber") %>'
Width="450px"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Project Period:</td><td width="500"><asp:TextBox ID="ProjectPeriod" runat="server" Text='<%# Bind("ProjectPeriod") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="ProjectPeriod_MaskedEditExtender" runat="server"
CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="99/9999 - 99/9999" TargetControlID="ProjectPeriod"></ajax:MaskedEditExtender></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Total Awarded Amount:</td><td width="500"><asp:TextBox ID="TotalAwardedAmount" runat="server"
Text='<%# Bind("TotalAwardedAmount") %>' Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="TotalAwardedAmount_MaskedEditExtender"
runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="$999,999,999.00" TargetControlID="TotalAwardedAmount"></ajax:MaskedEditExtender><%--<asp:CompareValidator ID="TotalAwardedAmount_CompareValidator" runat="server" ErrorMessage="Please enter a currency value"
ControlToValidate="TotalAwardedAmount" Type="Currency" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left;">
Grant Expenditures Amount: </td><td width="500" style="height: 26px"><asp:TextBox ID="GrantExpendituresAmount" runat="server" Text='<%# Bind("GrantExpendituresAmount") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="GrantExpendituresAmount_MaskedEditExtender"
runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="$999,999,999.00" TargetControlID="GrantExpendituresAmount"></ajax:MaskedEditExtender><%--<asp:CompareValidator ID="GrantExpendituresAmount_CompareValidator" runat="server" ErrorMessage="Please enter a currency value"
ControlToValidate="GrantExpendituresAmount" Type="Currency" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Award Sub-Recipient Amount:</td><td width="500"><asp:TextBox ID="AwardSubRecipientAmount" runat="server" Text='<%# Bind("AwardSubRecipientAmount") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="AwardSubRecipientAmount_MaskedEditExtender"
runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="$999,999,999.00" TargetControlID="AwardSubRecipientAmount"></ajax:MaskedEditExtender><%--<asp:CompareValidator ID="AwardSubRecipientAmount_CompareValidator" runat="server" ErrorMessage="Please enter a currency value"
ControlToValidate="AwardSubRecipientAmount" Type="Currency" ValidationGroup="Val"></asp:CompareValidator>--%></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Administrator:</td><td width="500"><asp:TextBox ID="Administrator" runat="server" Text='<%# Bind("Administrator") %>'
Width="450px"></asp:TextBox></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Administrator Phone:</td><td width="500"><asp:TextBox ID="Phone" runat="server" Text='<%# Bind("Phone") %>'
Width="450px"></asp:TextBox><ajax:MaskedEditExtender ID="Phone_MaskedEditExtender" runat="server"
CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
Mask="(999) 999-9999" MaskType="Number" TargetControlID="Phone"></ajax:MaskedEditExtender></td></tr><tr><td width="300" style="font-family: Calibri, Arial; text-align: left">
Department/Lawson Cost Center Number:</td><td width="500"><asp:TextBox ID="DepartmentCostCenterNumber" runat="server" Text='<%# Bind("DepartmentCostCenterNumber") %>'
Width="450px"></asp:TextBox></td></tr><tr><%--<td width="300" style="font-family: Calibri, Arial; text-align: left">
System Date:</td>--%><td width="500"><asp:TextBox ID="SystemDate" runat="server" Text='<%# Bind("SystemDate") %>'
Width="450px" BackColor="#E0E0E0" ReadOnly="True" Visible="False"></asp:TextBox></td></tr><tr><td width="300" valign="top" style="font-family: Calibri, Arial; text-align: left">
Comments:</td><td width="500"><asp:TextBox ID="Comments" runat="server" Height="200px" Text='<%# Bind("Comments") %>'
TextMode="MultiLine" Width="450px"></asp:TextBox></td></tr><tr><td width="300"></td><td width="500"></td></tr><tr><td width="300"></td><td width="500"></td></tr><tr><td colspan="2"><table style="width: 800px"><tr><td style="text-align: center; height: 26px;"><asp:Button ID="btnNew" runat="server" Text="New Program" Width="150px" OnClick="DataList1_ClearCommand" Enabled="False" />
|<asp:Button ID="btnSave" runat="server" Text="Save Program" Width="150px" ValidationGroup="Val" CommandName="Update"/>
|<asp:Button ID="btnDelete" runat="server" Text="Delete Program" Width="150px" CommandName="Delete" Enabled="False" /><br /><asp:Button ID="btnMain" runat="server" Text="Main Menu" Width="150px" /> | <asp:Button ID="btnFinish" runat="server" Text="Complete Survey" Width="150px" /></td></tr></table></td></tr></table></asp:Panel><br /><span style="font-family: Calibri"><span style="font-size: 10pt">Created and Mainted
by the Financial Services Support CentererCenterer <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="mailto:fssc@baylorhealth.edu">fssc@baylorhealth.edu</asp:HyperLink><span
style="font-size: 10pt"> - 214-820-4357<br />
Last updated 02.26.2013</span></span></td></tr></table><br /><br /><br /><asp:AccessDataSource ID="DSDataList" runat="server" DataFile="~/App_Data/BHCS_Grant_Survey.mdb"
SelectCommand="SELECT [ProgramID], [EntityID], [Agency], [GrantNameTitle], [GrantNumber], [CFDANumber], [ProjectPeriod], [TotalAwardedAmount], [GrantExpendituresAmount], [AwardSubRecipientAmount], [Administrator], [Phone], [DepartmentCostCenterNumber], [SystemDate], [Comments] FROM [tblPrograms] WHERE ([ProgramID] = ?)"
DeleteCommand="DELETE FROM [tblPrograms] WHERE [ProgramID] = ?"
InsertCommand="INSERT INTO [tblPrograms] ([EntityID], [Agency], [GrantNameTitle], [GrantNumber], [CFDANumber], [ProjectPeriod], [TotalAwardedAmount], [GrantExpendituresAmount], [AwardSubRecipientAmount], [Administrator], [Phone], [DepartmentCostCenterNumber], [SystemDate], [Comments]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
UpdateCommand="UPDATE [tblPrograms] SET [EntityID] = ?, [Agency] = ?, [GrantNameTitle] = ?, [GrantNumber] = ?, [CFDANumber] = ?, [ProjectPeriod] = ?, [TotalAwardedAmount] = ?, [GrantExpendituresAmount] = ?, [AwardSubRecipientAmount] = ?, [Administrator] = ?, [Phone] = ?, [DepartmentCostCenterNumber] = ?, [SystemDate] = ? WHERE [ProgramID] = ?"><SelectParameters><asp:ControlParameter ControlID="lbPrograms" Name="ProgramID" PropertyName="SelectedValue"
Type="Int32" /></SelectParameters><DeleteParameters><asp:Parameter Name="ProgramID" Type="Int32" /></DeleteParameters><UpdateParameters><asp:Parameter Name="EntityID" Type="String" /><asp:Parameter Name="Agency" Type="String" /><asp:Parameter Name="GrantNameTitle" Type="String" /><asp:Parameter Name="GrantNumber" Type="String" /><asp:Parameter Name="CFDANumber" Type="String" /><asp:Parameter Name="ProjectPeriod" Type="String" /><asp:Parameter Name="TotalAwardedAmount" Type="String" /><asp:Parameter Name="GrantExpendituresAmount" Type="String" /><asp:Parameter Name="AwardSubRecipientAmount" Type="String" /><asp:Parameter Name="Administrator" Type="String" /><asp:Parameter Name="Phone" Type="String" /><asp:Parameter Name="DepartmentCostCenterNumber" Type="String" /><asp:Parameter Name="SystemDate" Type="String" /><asp:Parameter Name="Comments" Type="String" /><%--<asp:Parameter Name="Person_Name" Type="String" /><asp:Parameter Name="Update_Date" Type="String" /><asp:Parameter Name="Reviewed_Date" Type="String" /><asp:Parameter Name="Entity_Type" Type="String" /><asp:Parameter Name="System_Date" Type="String" /><asp:Parameter Name="Comments" Type="String" />--%><asp:Parameter Name="ProgramID" Type="Int32" /></UpdateParameters><InsertParameters><asp:SessionParameter Name="EntityID" SessionField="Entity" Type="String" /><asp:ControlParameter ControlID="Agency" Name="Agency" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="GrantNameTitle" Name="GrantNameTitle" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="GrantNumber" Name="GrantNumber" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="CFDANumber" Name="CFDANumber" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="ProjectPeriod" Name="ProjectPeriod" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="TotalAwardedAmount" Name="TotalAwardedAmount" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="GrantExpendituresAmount" Name="GrantExpendituresAmount" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="AwardSubRecipientAmount" Name="AwardSubRecipientAmount" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Administrator" Name="Administrator" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Phone" Name="Phone" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="DepartmentCostCenterNumber" Name="DepartmentCostCenterNumber" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="SystemDate" Name="SystemDate" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Comments" Name="Comments" PropertyName="Text" Type="String" /><%-- <asp:ControlParameter ControlID="Person_Name" Name="Person_Name" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Entity_Type" Name="Entity_Type" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="System_Date" Name="System_Date" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Comments" Name="Comments" PropertyName="Text" Type="String" />--%></InsertParameters></asp:AccessDataSource><asp:AccessDataSource ID="DSDataSource_History" runat="server" DataFile="~/App_Data/BHCS_Grant_Survey.mdb"
SelectCommand="SELECT [ProgramID], [EntityID], [Agency], [GrantNameTitle], [GrantNumber], [CFDANumber], [ProjectPeriod], [TotalAwardedAmount], [GrantExpendituresAmount], [AwardSubRecipientAmount], [Administrator], [Phone], [DepartmentCostCenterNumber], [SystemDate], [Comments] FROM [tblPrograms] WHERE ([ProgramID] = ?)"
DeleteCommand="DELETE FROM [tblPrograms] WHERE [ProgramID] = ?"
InsertCommand="INSERT INTO [tblProgramHistory] ([EntityID], [Agency], [GrantNameTitle], [GrantNumber], [CFDANumber], [ProjectPeriod], [TotalAwardedAmount], [GrantExpendituresAmount], [AwardSubRecipientAmount], [Administrator], [Phone], [DepartmentCostCenterNumber], [SystemDate], [Comments]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
UpdateCommand="UPDATE [tblPrograms] SET [EntityID] = ?, [Agency] = ?, [GrantNameTitle] = ?, [GrantNumber] = ?, [CFDANumber] = ?, [ProjectPeriod] = ?, [TotalAwardedAmount] = ?, [GrantExpendituresAmount] = ?, [AwardSubRecipientAmount] = ?, [Administrator] = ?, [Phone] = ?, [DepartmentCostCenterNumber] = ?, [SystemDate] = ? WHERE [ProgramID] = ?"><InsertParameters><asp:SessionParameter Name="EntityID" SessionField="Entity" Type="String" /><asp:ControlParameter ControlID="Agency" Name="Agency" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="GrantNameTitle" Name="GrantNameTitle" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="GrantNumber" Name="GrantNumber" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="CFDANumber" Name="CFDANumber" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="ProjectPeriod" Name="ProjectPeriod" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="TotalAwardedAmount" Name="TotalAwardedAmount" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="GrantExpendituresAmount" Name="GrantExpendituresAmount" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="AwardSubRecipientAmount" Name="AwardSubRecipientAmount" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Administrator" Name="Administrator" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Phone" Name="Phone" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="DepartmentCostCenterNumber" Name="DepartmentCostCenterNumber" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="SystemDate" Name="SystemDate" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Comments" Name="Comments" PropertyName="Text" Type="String" /><%--<asp:ControlParameter ControlID="Person_Name" Name="Person_Name" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Entity_Type" Name="Entity_Type" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="System_Date" Name="System_Date" PropertyName="Text" Type="String" /><asp:ControlParameter ControlID="Comments" Name="Comments" PropertyName="Text" Type="String" />--%></InsertParameters></asp:AccessDataSource> <asp:AccessDataSource ID="DSProgramLB" runat="server" DataFile="~/App_Data/BHCS_Grant_Survey.mdb"
SelectCommand="SELECT [EntityID], [GrantNameTitle], [ProgramID] FROM [tblPrograms] WHERE ([EntityID] = ?) Order By GrantNameTitle"><SelectParameters><asp:SessionParameter Name="EntityID" SessionField="Entity" Type="String" /></SelectParameters></asp:AccessDataSource><asp:DataList ID="DataList2" runat="server" DataSourceID="DSProgramLB"></asp:DataList> <br /><br /><br /><br /><br /> </div></form></body></div></html>
Thanks in advance for any assistance rendered.