VS.Net 2002 Munging label and textbox id's in a user control

When I am editing labels and textboxes in a user control when I end template editing the labels and textboxes are all renamed to label1, label2, etc.  WHY????  All I do is move a couple labels and copy and paste a button and then click end template editing!

Here is the original code followed by the munged code:
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="NewCaseAddress.ascx.vb" Inherits="NYSIF.WCClaim.NewCase.Web.UserControls.NewCaseAddress" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<script language="javascript">
function fnOpenModal(ZipTBXID, CityLBLID, StateLBLID, CountyLBLID, CountyIDLBLID){
var a = new Array;
a[0]=frmNewCase.elements[CityLBLID];
a[1]=frmNewCase.elements[StateLBLID];
a[2]=frmNewCase.elements[CountyLBLID];
a[3]=frmNewCase.elements[CountyIDLBLID];
a[4]=frmNewCase.elements[ZipTBXID];
var url = "UserControls/NewCaseGetZipInfo.aspx?Zip="+frmNewCase.elements[ZipTBXID].value;
window.showModalDialog(url,a,'dialogHeight:200px;dialogWidth:400px;center:yes;unadorned:yes;resizable:no;scroll:no;status:no;help:no;edge:sunken')
}
function makeEnabled(CityLBLID, StateLBLID, CountyLBLID, CountyIDLBLID) {
frmNewCase.elements[CityLBLID].disabled=false;
frmNewCase.elements[StateLBLID].disabled=false;
frmNewCase.elements[CountyLBLID].disabled=false;
frmNewCase.elements[CountyIDLBLID].disabled=false;
return true;
}
</script>
<asp:datagrid id="AddressGrid" PageSize="3" BorderColor="Goldenrod" BorderStyle="None" CssClass="UserControlGrid" CellPadding="5" ShowHeader="False" runat="server" Width="100%" AutoGenerateColumns="False" OnUpdateCommand="AddressGrid_UpdateCommand" OnEditCommand="AddressGrid_EditCommand" OnItemCommand="AddressGrid_ItemCommand" ShowFooter="True">
<AlternatingItemStyle BorderStyle="None" CssClass="alternatingGridItem"></AlternatingItemStyle>
<ItemStyle BorderStyle="None" CssClass="gridItem"></ItemStyle>
<FooterStyle BorderStyle="None" CssClass="footerGridItem"></FooterStyle>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0" runat="server">
<TR>
<TD width="15%">
<asp:label id="Label12" CssClass="label" runat="server">Care Of</asp:label></TD>
<TD width="35%">
<asp:Label id=lblCareOf CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("Care_Of") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:label id="lblNotifierAddressType" CssClass="label" runat="server">Address Type</asp:label></TD>
<TD width="35%">
<asp:Label id=lblAddressType CssClass="textDisplay" runat="server" Text='<%# GetLookUpTableTextFromValue("Address_Lt",Container.DataItem("Address_Lt_Id")) %>'>
</asp:Label></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="lblAddress1" CssClass="label" runat="server">Address 1</asp:label></TD>
<TD width="35%">
<asp:Label id=lblAddressLine1 CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("Address_1") %>'>
</asp:Label></TD>
<TD width="15%" rowSpan="2">
<asp:label id="Label9" CssClass="label" runat="server">Apt, etc.</asp:label></TD>
<TD width="35%">
<asp:Label id="lblAptType" CssClass="textDisplay" runat="server"></asp:Label>
<asp:label id="Label8" CssClass="label" runat="server" Visible="False">&nbsp;&nbsp;&nbsp;Value</asp:label>
<asp:Label id="lblAptValue" CssClass="textDisplay" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="lblAddress2" CssClass="label" runat="server">Address 2</asp:label></TD>
<TD width="35%">
<asp:Label id=lblAddressLine2 CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("Address_2") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:Label id="lblAptValueOther" CssClass="textDisplay" runat="server" Width="119px"></asp:Label></TD>
<TD width="35%"></TD>
</TR>
<TR>
<TD style="HEIGHT: 19px" width="15%">
<asp:label id="Label27" CssClass="label" runat="server">City</asp:label></TD>
<TD style="HEIGHT: 19px" width="35%">
<asp:Label id=lblCity CssClass="textDisplay" runat="server" Width="58px" Text='<%# Container.DataItem("City") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:label id="Label2" CssClass="label" runat="server">State</asp:label></TD>
<TD style="HEIGHT: 22px" width="35%">
<asp:Label id=lblState CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("State") %>'>
</asp:Label>
<asp:Label id="lblForiegnProvince" CssClass="textDisplay" runat="server"></asp:Label>
<asp:label id="Label3" CssClass="label" runat="server">&nbsp;&nbsp;&nbsp;Zip</asp:label>
<asp:Label id=lblZipCode CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("Zip") %>'>
</asp:Label>
<asp:label id="Label30" CssClass="label" runat="server">-</asp:label>
<asp:Label id=lblZipPlus CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("Zip_Plus") %>'>
</asp:Label>
<asp:Label id="lblForiegnPostalCode" CssClass="textDisplay" runat="server" Visible="False"></asp:Label></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="Label31" CssClass="label" runat="server">Country</asp:label></TD>
<TD width="35%">
<asp:Label id=lblCountry CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("Country") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:label id="Label32" CssClass="label" runat="server">County</asp:label></TD>
<TD width="35%">
<asp:Label id=lblCounty CssClass="textDisplay" runat="server" Text='<%# Container.DataItem("SIFCounty_ID") %>'>
</asp:Label></TD>
</TR>
</TABLE>
<asp:Label id=lblAddressID runat="server" Text='<%# Container.DataItem("Addr_Id") %>' Visible="False">
</asp:Label>
</ItemTemplate>
<FooterTemplate>
<TABLE id="tblInnerNewAddress" cellSpacing="0" cellPadding="1" width="100%" border="0" runat="server">
<TR>
<TD style="HEIGHT: 23px" width="15%">
<asp:label id="Label33" CssClass="label" runat="server">Care Of</asp:label></TD>
<TD style="HEIGHT: 23px" width="35%">
<asp:textbox id="txtAddCareOf" CssClass="textInput" runat="server" MaxLength="35" Columns="35" EnableViewState="False"></asp:textbox></TD>
<TD style="HEIGHT: 23px" width="15%">
<asp:label id="Label29" CssClass="label" runat="server">Type</asp:label></TD>
<TD style="HEIGHT: 23px" width="35%">
<asp:dropdownlist id=ddlAddAddressType CssClass="textInput" Runat="server" DataSource='<%# NYSIF.Common.CodeTables.CodeTableAccess.RetrieveTable("Address_Lt") %>' DataValueField="CODE" DataTextField="SHORTTEXT">
</asp:dropdownlist>&nbsp;&nbsp;
<asp:CheckBox id="cbxAddPrimary" CssClass="textInput" runat="server" Text="Primary?"></asp:CheckBox></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="Label28" CssClass="label" runat="server">Address 1</asp:label></TD>
<TD width="35%">
<asp:textbox id="txtAddAddressLine1" CssClass="textInput" runat="server" MaxLength="35" Columns="35" EnableViewState="False"></asp:textbox></TD>
<TD width="15%">
<asp:label id="Label26" CssClass="label" runat="server">Apt, etc.</asp:label></TD>
<TD width="35%">
<asp:dropdownlist id=ddlAddApt CssClass="textInput" Runat="server" DataSource='<%# GetLookupTable("Sec_Address_Ind_Lt","Select an Apt., etc.") %>' DataValueField="CODE" DataTextField="SHORTTEXT" AutoPostBack="True">
</asp:dropdownlist>
<asp:label id="Label25" CssClass="label" runat="server" Visible="False">&nbsp;&nbsp;&nbsp;Value</asp:label>
<asp:textbox id="txtAddAptValue" CssClass="textInput" Width="50px" Visible="False" Runat="server"></asp:textbox></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="Label24" CssClass="label" runat="server">Address 2</asp:label></TD>
<TD width="35%">
<asp:textbox id="txtAddAddressLine2" CssClass="textInput" runat="server" MaxLength="35" Columns="35" EnableViewState="False"></asp:textbox></TD>
<TD width="15%"></TD>
<TD width="35%">
<asp:textbox id="txtAddAptOther" CssClass="textInput" runat="server" Visible="False" MaxLength="35" Columns="20"></asp:textbox></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="Label23" CssClass="label" runat="server">City/State</asp:label></TD>
<TD width="35%">
<asp:textbox id="txtAddCity" CssClass="textInput" runat="server"></asp:textbox>
<asp:textbox id="txtAddState" CssClass="textInput" runat="server" Width="32px"></asp:textbox></TD>
<TD width="15%">
<asp:label id="Label21" CssClass="label" runat="server">Zip</asp:label></TD>
<TD width="35%">
<asp:dropdownlist id="ddlAddForiegnProvince" CssClass="textInput" runat="server" Visible="False">
<asp:ListItem Value="AB">AB</asp:ListItem>
<asp:ListItem Value="BC">BC</asp:ListItem>
<asp:ListItem Value="MB">MB</asp:ListItem>
<asp:ListItem Value="NB">NB</asp:ListItem>
<asp:ListItem Value="NF">NF</asp:ListItem>
<asp:ListItem Value="NT">NT</asp:ListItem>
<asp:ListItem Value="NS">NS</asp:ListItem>
<asp:ListItem Value="ON">ON</asp:ListItem>
<asp:ListItem Value="PE">PE</asp:ListItem>
<asp:ListItem Value="QC">QC</asp:ListItem>
<asp:ListItem Value="SK">SK</asp:ListItem>
<asp:ListItem Value="YT">YT</asp:ListItem>
</asp:dropdownlist>
<asp:textbox id="txtAddZipCode" CssClass="textInput" runat="server" MaxLength="5" Columns="5"></asp:textbox>
<asp:label id="Label20" CssClass="label" runat="server">-</asp:label>
<asp:textbox id="txtAddZipPlus" CssClass="textInput" runat="server" MaxLength="4" Columns="4"></asp:textbox>
<INPUT class=button id=Button2 onclick="fnOpenModal('<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_ZIPCODE_TBX_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_CITY_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_STATE_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_COUNTY_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_COUNTY_ID_TXT_NAME),textbox).ClientId %>')" type=button value="Get Zip Info">
<asp:textbox id="txtAddForiegnPostalCode" CssClass="textInput" runat="server" Visible="False" MaxLength="7" Columns="7"></asp:textbox></TD>
</TR>
<TR>
<TD width="15%">
<asp:label id="Label19" CssClass="label" runat="server">Country</asp:label></TD>
<TD width="35%">
<asp:dropdownlist id=ddlAddCountry CssClass="textInput" runat="server" DataSource='<%# NYSIF.Common.CodeTables.CodeTableAccess.RetrieveTable("Country_Lt") %>' DataValueField="CODE" DataTextField="SHORTTEXT" AutoPostBack="True">
</asp:dropdownlist></TD>
<TD width="15%">
<asp:label id="Label11" CssClass="label" runat="server">County</asp:label></TD>
<TD width="35%">
<asp:textbox id="txtAddCounty" CssClass="textInput" runat="server" Columns="10"></asp:textbox>
<asp:textbox id="txtAddCountyID" style="VISIBILITY: hidden" CssClass="textInput" runat="server" Width="1"></asp:textbox>
<asp:Button id="btnInsertAddress" CssClass="button" runat="server" Text="Insert Address" BackColor="Maroon" ForeColor="White" CommandName="InsertAddress"></asp:Button></TD>
</TR>
<TR>
<TD colSpan="4">
<P align="right">&nbsp;</P>
</TD>
</TR>
<TR>
</TR>
</TABLE>
</FooterTemplate>
<EditItemTemplate>
<TABLE id="Table13" cellSpacing="0" cellPadding="1" width="100%" border="0" runat="server">
<TR>
<TD style="HEIGHT: 23px" width="121">
<asp:label id="Label18" CssClass="label" runat="server">Care Of</asp:label></TD>
<TD style="HEIGHT: 23px">
<asp:textbox id=txtEditCareOf CssClass="textInput" runat="server" Text='<%# Container.DataItem("Care_Of") %>' MaxLength="35" Columns="35">
</asp:textbox></TD>
<TD style="HEIGHT: 23px" width="121">
<asp:label id="Label17" CssClass="label" runat="server">Type</asp:label></TD>
<TD colSpan="3">
<asp:dropdownlist id=ddlEditAddressType CssClass="textInput" Runat="server" DataSource='<%# GetLookupTable("Address_Lt") %>' DataValueField="CODE" DataTextField="SHORTTEXT">
</asp:dropdownlist>&nbsp;&nbsp;
<asp:CheckBox id="cbxEditPrimary" CssClass="textInput" runat="server" Text="Primary?"></asp:CheckBox></TD>
</TR>
<TR>
<TD>
<asp:label id="Label16" CssClass="label" runat="server">Address 1</asp:label></TD>
<TD>
<asp:textbox id=txtEditAddressLine1 CssClass="textInput" runat="server" Text='<%# Container.DataItem("Address_1") %>' MaxLength="35" Columns="35">
</asp:textbox></TD>
<TD>
<asp:label id="Label15" CssClass="label" runat="server">Apt, etc.</asp:label></TD>
<TD>
<asp:dropdownlist id=ddlEditApt CssClass="textInput" Runat="server" DataSource='<%# GetLookupTable("Sec_Address_Ind_Lt") %>' DataValueField="CODE" DataTextField="SHORTTEXT" AutoPostBack="True">
</asp:dropdownlist>
<asp:label id="Label14" CssClass="label" runat="server" Visible="False">&nbsp;&nbsp;&nbsp;Value</asp:label>
<asp:textbox id="txtEditAptValue" CssClass="textInput" Width="50px" Visible="False" Runat="server"></asp:textbox></TD>
</TR>
<TR>
<TD>
<asp:label id="Label13" CssClass="label" runat="server">Address 2</asp:label></TD>
<TD>
<asp:textbox id=txtEditAddressLine2 CssClass="textInput" runat="server" Text='<%# Container.DataItem("Address_2") %>' MaxLength="35" Columns="35">
</asp:textbox></TD>
<TD></TD>
<TD colSpan="3">
<asp:textbox id="txtEditAptOther" CssClass="textInput" runat="server" Width="100px" Visible="False"></asp:textbox></TD>
</TR>
<TR>
<TD>
<asp:label id="Label10" CssClass="label" runat="server">City</asp:label></TD>
<TD width="35%">
<asp:label id="lblEditCity" CssClass="label" runat="server"></asp:label></TD>
<TD>
<asp:label id="Label7" CssClass="label" runat="server">State</asp:label></TD>
<TD width="35%">
<asp:label id="lblEditState" CssClass="label" runat="server"></asp:label>
<asp:dropdownlist id="ddlEditForiegnProvince" CssClass="textInput" runat="server" Visible="False">
<asp:ListItem Value="AB">AB</asp:ListItem>
<asp:ListItem Value="BC">BC</asp:ListItem>
<asp:ListItem Value="MB">MB</asp:ListItem>
<asp:ListItem Value="NB">NB</asp:ListItem>
<asp:ListItem Value="NF">NF</asp:ListItem>
<asp:ListItem Value="NT">NT</asp:ListItem>
<asp:ListItem Value="NS">NS</asp:ListItem>
<asp:ListItem Value="ON">ON</asp:ListItem>
<asp:ListItem Value="PE">PE</asp:ListItem>
<asp:ListItem Value="QC">QC</asp:ListItem>
<asp:ListItem Value="SK">SK</asp:ListItem>
<asp:ListItem Value="YT">YT</asp:ListItem>
</asp:dropdownlist>
<asp:label id="Label6" CssClass="label" runat="server">&nbsp;&nbsp;&nbsp;Zip</asp:label>
<asp:textbox id=txtEditZipCode CssClass="textInput" runat="server" Text='<%# Container.DataItem("Zip") %>' MaxLength="5" Columns="5">
</asp:textbox>
<asp:label id="Label5" CssClass="label" runat="server">-</asp:label>
<asp:textbox id=txtEditZipPlus CssClass="textInput" runat="server" Text='<%# Container.DataItem("Zip_Plus") %>' MaxLength="4" Columns="4">
</asp:textbox>
<asp:textbox id="txtEditForiegnPostalCode" CssClass="textInput" runat="server" Visible="False" MaxLength="7" Columns="7"></asp:textbox></TD>
</TR>
<TR>
<TD>
<asp:label id="Label4" CssClass="label" runat="server">Country</asp:label></TD>
<TD>
<asp:dropdownlist id=ddlEditCountry CssClass="textInput" runat="server" DataSource='<%# NYSIF.Common.CodeTables.CodeTableAccess.RetrieveTable("Country_Lt") %>' DataValueField="CODE" DataTextField="SHORTTEXT" AutoPostBack="True">
</asp:dropdownlist></TD>
<TD>
<asp:label id="Label1" CssClass="label" runat="server" Visible="False">County</asp:label></TD>
<TD width="35%">
<asp:label id="lblEditCounty" CssClass="label" runat="server"></asp:label>
<asp:label id="lblEditCountyID" CssClass="label" runat="server"></asp:label></TD>
</TR>
<TR>
</TR>
</TABLE>
<asp:Label id=lblEditAddressId runat="server" Text='<%# Container.DataItem("Addr_Id") %>' Visible="False">
</asp:Label>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" CancelText="Cancel" EditText="Edit">
<ItemStyle CssClass="EditColumn"></ItemStyle>
</asp:EditCommandColumn>
<asp:ButtonColumn Text="Delete" CommandName="Delete">
<ItemStyle CssClass="DeleteColumn"></ItemStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle Position="TopAndBottom" CssClass="Pager" Mode="NumericPages"></PagerStyle>
</asp:datagrid><BR>
</code>
***************************************************************************
***************************************************************************
And here is the munged code:

<%@ Control Language="vb" AutoEventWireup="false" Codebehind="NewCaseAddress.ascx.vb" Inherits="NYSIF.WCClaim.NewCase.Web.UserControls.NewCaseAddress" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<script language="javascript">
function fnOpenModal(ZipTBXID, CityLBLID, StateLBLID, CountyLBLID, CountyIDLBLID){
var a = new Array;
a[0]=frmNewCase.elements[CityLBLID];
a[1]=frmNewCase.elements[StateLBLID];
a[2]=frmNewCase.elements[CountyLBLID];
a[3]=frmNewCase.elements[CountyIDLBLID];
a[4]=frmNewCase.elements[ZipTBXID];
var url = "UserControls/NewCaseGetZipInfo.aspx?Zip="+frmNewCase.elements[ZipTBXID].value;
window.showModalDialog(url,a,'dialogHeight:200px;dialogWidth:400px;center:yes;unadorned:yes;resizable:no;scroll:no;status:no;help:no;edge:sunken')
}
function makeEnabled(CityLBLID, StateLBLID, CountyLBLID, CountyIDLBLID) {
frmNewCase.elements[CityLBLID].disabled=false;
frmNewCase.elements[StateLBLID].disabled=false;
frmNewCase.elements[CountyLBLID].disabled=false;
frmNewCase.elements[CountyIDLBLID].disabled=false;
return true;
}
</script>
<asp:datagrid id="AddressGrid" PageSize="3" BorderColor="Goldenrod" BorderStyle="None" CssClass="UserControlGrid" CellPadding="5" ShowHeader="False" runat="server" Width="100%" AutoGenerateColumns="False" OnUpdateCommand="AddressGrid_UpdateCommand" OnEditCommand="AddressGrid_EditCommand" OnItemCommand="AddressGrid_ItemCommand" ShowFooter="True">
<AlternatingItemStyle BorderStyle="None" CssClass="alternatingGridItem">
</AlternatingItemStyle>
<ItemStyle BorderStyle="None" CssClass="gridItem">
</ItemStyle>
<FooterStyle BorderStyle="None" CssClass="footerGridItem">
</FooterStyle>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE id=Table7 cellSpacing=0 cellPadding=0 width="100%" border=0 runat="server">
<TR>
<TD width="15%">
<asp:label id=Label22 runat="server" CssClass="label">Care Of</asp:label></TD>
<TD width="35%">
<asp:Label id=Label34 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("Care_Of") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:label id=Label35 runat="server" CssClass="label">Address Type</asp:label></TD>
<TD width="35%">
<asp:Label id=Label36 runat="server" CssClass="textDisplay" Text='<%# GetLookUpTableTextFromValue("Address_Lt",Container.DataItem("Address_Lt_Id")) %>'>
</asp:Label></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label37 runat="server" CssClass="label">Address 1</asp:label></TD>
<TD width="35%">
<asp:Label id=Label38 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("Address_1") %>'>
</asp:Label></TD>
<TD width="15%" rowSpan=2>
<asp:label id=Label39 runat="server" CssClass="label">Apt, etc.</asp:label></TD>
<TD width="35%">
<asp:Label id=Label40 runat="server" CssClass="textDisplay"></asp:Label>
<asp:label id=Label41 runat="server" CssClass="label" Visible="False">&nbsp;&nbsp;&nbsp;Value</asp:label>
<asp:Label id=Label42 runat="server" CssClass="textDisplay"></asp:Label></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label43 runat="server" CssClass="label">Address 2</asp:label></TD>
<TD width="35%">
<asp:Label id=Label44 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("Address_2") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:Label id=Label45 Width="119px" runat="server" CssClass="textDisplay"></asp:Label></TD>
<TD width="35%"></TD></TR>
<TR>
<TD style="HEIGHT: 19px" width="15%">
<asp:label id=Label46 runat="server" CssClass="label">City</asp:label></TD>
<TD style="HEIGHT: 19px" width="35%">
<asp:Label id=Label47 Width="58px" runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("City") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:label id=Label48 runat="server" CssClass="label">State</asp:label></TD>
<TD style="HEIGHT: 22px" width="35%">
<asp:Label id=Label49 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("State") %>'>
</asp:Label>
<asp:Label id=Label50 runat="server" CssClass="textDisplay"></asp:Label>
<asp:label id=Label51 runat="server" CssClass="label">&nbsp;&nbsp;&nbsp;Zip</asp:label>
<asp:Label id=Label52 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("Zip") %>'>
</asp:Label>
<asp:label id=Label53 runat="server" CssClass="label">-</asp:label>
<asp:Label id=Label54 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("Zip_Plus") %>'>
</asp:Label>
<asp:Label id=Label55 runat="server" CssClass="textDisplay" Visible="False"></asp:Label></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label56 runat="server" CssClass="label">Country</asp:label></TD>
<TD width="35%">
<asp:Label id=Label57 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("Country") %>'>
</asp:Label></TD>
<TD width="15%">
<asp:label id=Label58 runat="server" CssClass="label">County</asp:label></TD>
<TD width="35%">
<asp:Label id=Label59 runat="server" CssClass="textDisplay" Text='<%# Container.DataItem("SIFCounty_ID") %>'>
</asp:Label></TD></TR></TABLE>
<asp:Label id=Label60 runat="server" Text='<%# Container.DataItem("Addr_Id") %>' Visible="False">
</asp:Label>
</ItemTemplate>
<FooterTemplate>
<TABLE id=Table11 cellSpacing=0 cellPadding=1 width="100%" border=0 runat="server">
<TR>
<TD style="HEIGHT: 23px" width="15%">
<asp:label id=Label75 runat="server" CssClass="label">Care Of</asp:label></TD>
<TD style="HEIGHT: 23px" width="35%">
<asp:textbox id=Textbox9 runat="server" CssClass="textInput" Columns="35" MaxLength="35" EnableViewState="False"></asp:textbox></TD>
<TD style="HEIGHT: 23px" width="15%">
<asp:label id=Label76 runat="server" CssClass="label">Type</asp:label></TD>
<TD style="HEIGHT: 23px" width="35%">
<asp:dropdownlist id=Dropdownlist4 CssClass="textInput" DataTextField="SHORTTEXT" DataValueField="CODE" DataSource='<%# NYSIF.Common.CodeTables.CodeTableAccess.RetrieveTable("Address_Lt") %>' Runat="server">
</asp:dropdownlist>&nbsp;&nbsp;
<asp:CheckBox id=Checkbox2 runat="server" CssClass="textInput" Text="Primary?"></asp:CheckBox></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label77 runat="server" CssClass="label">Address 1</asp:label></TD>
<TD width="35%">
<asp:textbox id=Textbox10 runat="server" CssClass="textInput" Columns="35" MaxLength="35" EnableViewState="False"></asp:textbox></TD>
<TD width="15%">
<asp:label id=Label78 runat="server" CssClass="label">Apt, etc.</asp:label></TD>
<TD width="35%">
<asp:dropdownlist id=Dropdownlist5 CssClass="textInput" DataTextField="SHORTTEXT" DataValueField="CODE" DataSource='<%# GetLookupTable("Sec_Address_Ind_Lt","Select an Apt., etc.") %>' Runat="server" AutoPostBack="True">
</asp:dropdownlist>
<asp:label id=Label79 runat="server" CssClass="label" Visible="False">&nbsp;&nbsp;&nbsp;Value</asp:label>
<asp:textbox id=Textbox11 Width="50px" CssClass="textInput" Visible="False" Runat="server"></asp:textbox></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label80 runat="server" CssClass="label">Address 2</asp:label></TD>
<TD width="35%">
<asp:textbox id=Textbox12 runat="server" CssClass="textInput" Columns="35" MaxLength="35" EnableViewState="False"></asp:textbox></TD>
<TD width="15%"></TD>
<TD width="35%">
<asp:textbox id=Textbox13 runat="server" CssClass="textInput" Visible="False" Columns="20" MaxLength="35"></asp:textbox></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label81 runat="server" CssClass="label">City/State</asp:label></TD>
<TD width="35%">
<asp:textbox id=Textbox14 runat="server" CssClass="textInput"></asp:textbox>
<asp:textbox id=Textbox15 Width="32px" runat="server" CssClass="textInput"></asp:textbox></TD>
<TD width="15%">
<asp:label id=Label82 runat="server" CssClass="label">Zip</asp:label></TD>
<TD width="35%">
<asp:dropdownlist id=Dropdownlist6 runat="server" CssClass="textInput" Visible="False">
<asp:ListItem Value="AB">AB</asp:ListItem>
<asp:ListItem Value="BC">BC</asp:ListItem>
<asp:ListItem Value="MB">MB</asp:ListItem>
<asp:ListItem Value="NB">NB</asp:ListItem>
<asp:ListItem Value="NF">NF</asp:ListItem>
<asp:ListItem Value="NT">NT</asp:ListItem>
<asp:ListItem Value="NS">NS</asp:ListItem>
<asp:ListItem Value="ON">ON</asp:ListItem>
<asp:ListItem Value="PE">PE</asp:ListItem>
<asp:ListItem Value="QC">QC</asp:ListItem>
<asp:ListItem Value="SK">SK</asp:ListItem>
<asp:ListItem Value="YT">YT</asp:ListItem>
</asp:dropdownlist>
<asp:textbox id=Textbox16 runat="server" CssClass="textInput" Columns="5" MaxLength="5"></asp:textbox>
<asp:label id=Label83 runat="server" CssClass="label">-</asp:label>
<asp:textbox id=Textbox17 runat="server" CssClass="textInput" Columns="4" MaxLength="4"></asp:textbox>
<INPUT class=button id=Button1 onclick="fnOpenModal('<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_ZIPCODE_TBX_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_CITY_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_STATE_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_COUNTY_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_COUNTY_ID_TXT_NAME),textbox).ClientId %>')" type=button value="Get Zip Info">
<asp:textbox id=Textbox18 runat="server" CssClass="textInput" Visible="False" Columns="7" MaxLength="7"></asp:textbox></TD></TR>
<TR>
<TD width="15%">
<asp:label id=Label84 runat="server" CssClass="label">Country</asp:label></TD>
<TD width="35%">
<asp:dropdownlist id=Dropdownlist7 runat="server" CssClass="textInput" DataTextField="SHORTTEXT" DataValueField="CODE" DataSource='<%# NYSIF.Common.CodeTables.CodeTableAccess.RetrieveTable("Country_Lt") %>' AutoPostBack="True">
</asp:dropdownlist></TD>
<TD width="15%">
<asp:label id=Label85 runat="server" CssClass="label">County</asp:label></TD>
<TD width="35%">
<asp:textbox id=Textbox19 runat="server" CssClass="textInput" Columns="10"></asp:textbox>
<asp:textbox id=Textbox20 style="VISIBILITY: hidden" Width="1" runat="server" CssClass="textInput"></asp:textbox>
<asp:Button id=Button3 runat="server" CssClass="button" Text="Insert Address" CommandName="InsertAddress" ForeColor="White" BackColor="Maroon"></asp:Button></TD></TR>
<TR>
<TD colSpan=4>
<P align=right>&nbsp;</P></TD></TR>
<TR></TR></TABLE>
</FooterTemplate>
<EditItemTemplate>
<TABLE id=Table9 cellSpacing=0 cellPadding=1 width="100%" border=0 runat="server">
<TR>
<TD style="HEIGHT: 23px" width=121>
<asp:label id=Label61 runat="server" CssClass="label">Care Of</asp:label></TD>
<TD style="HEIGHT: 23px">
<asp:textbox id=Textbox1 runat="server" CssClass="textInput" Text='<%# Container.DataItem("Care_Of") %>' Columns="35" MaxLength="35">
</asp:textbox></TD>
<TD style="HEIGHT: 23px" width=121>
<asp:label id=Label62 runat="server" CssClass="label">Type</asp:label></TD>
<TD colSpan=3>
<asp:dropdownlist id=Dropdownlist1 CssClass="textInput" DataTextField="SHORTTEXT" DataValueField="CODE" DataSource='<%# GetLookupTable("Address_Lt") %>' Runat="server">
</asp:dropdownlist>&nbsp;&nbsp;
<asp:CheckBox id=Checkbox1 runat="server" CssClass="textInput" Text="Primary?"></asp:CheckBox></TD></TR>
<TR>
<TD>
<asp:label id=Label63 runat="server" CssClass="label">Address 1</asp:label></TD>
<TD>
<asp:textbox id=Textbox2 runat="server" CssClass="textInput" Text='<%# Container.DataItem("Address_1") %>' Columns="35" MaxLength="35">
</asp:textbox></TD>
<TD>
<asp:label id=Label64 runat="server" CssClass="label">Apt, etc.</asp:label></TD>
<TD>
<asp:dropdownlist id=Dropdownlist2 CssClass="textInput" DataTextField="SHORTTEXT" DataValueField="CODE" DataSource='<%# GetLookupTable("Sec_Address_Ind_Lt") %>' Runat="server" AutoPostBack="True">
</asp:dropdownlist>
<asp:label id=Label65 runat="server" CssClass="label" Visible="False">&nbsp;&nbsp;&nbsp;Value</asp:label>
<asp:textbox id=Textbox3 Width="50px" CssClass="textInput" Visible="False" Runat="server"></asp:textbox></TD></TR>
<TR>
<TD>
<asp:label id=Label66 runat="server" CssClass="label">Address 2</asp:label></TD>
<TD>
<asp:textbox id=Textbox4 runat="server" CssClass="textInput" Text='<%# Container.DataItem("Address_2") %>' Columns="35" MaxLength="35">
</asp:textbox></TD>
<TD></TD>
<TD colSpan=3>
<asp:textbox id=Textbox5 Width="100px" runat="server" CssClass="textInput" Visible="False"></asp:textbox></TD></TR>
<TR>
<TD>
<asp:label id=Label67 runat="server" CssClass="label">City</asp:label></TD>
<TD width="35%">
<asp:label id=Label68 runat="server" CssClass="label"></asp:label>
<asp:label id=lblEditState runat="server" CssClass="label"></asp:label>
<asp:dropdownlist id=ddlEditForiegnProvince runat="server" CssClass="textInput" Visible="False">
<asp:ListItem Value="AB">AB</asp:ListItem>
<asp:ListItem Value="BC">BC</asp:ListItem>
<asp:ListItem Value="MB">MB</asp:ListItem>
<asp:ListItem Value="NB">NB</asp:ListItem>
<asp:ListItem Value="NF">NF</asp:ListItem>
<asp:ListItem Value="NT">NT</asp:ListItem>
<asp:ListItem Value="NS">NS</asp:ListItem>
<asp:ListItem Value="ON">ON</asp:ListItem>
<asp:ListItem Value="PE">PE</asp:ListItem>
<asp:ListItem Value="QC">QC</asp:ListItem>
<asp:ListItem Value="SK">SK</asp:ListItem>
<asp:ListItem Value="YT">YT</asp:ListItem>
</asp:dropdownlist></TD>
<TD>
<asp:label id=Label6 runat="server" CssClass="label">Zip</asp:label></TD>
<TD width="35%">
<asp:textbox id=Textbox6 runat="server" CssClass="textInput" Text='<%# Container.DataItem("Zip") %>' Columns="5" MaxLength="5">
</asp:textbox>
<asp:label id=Label69 runat="server" CssClass="label">-</asp:label>
<asp:textbox id=Textbox7 runat="server" CssClass="textInput" Text='<%# Container.DataItem("Zip_Plus") %>' Columns="4" MaxLength="4">
</asp:textbox>
<INPUT class=button id=Button2 onclick="fnOpenModal('<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_ZIPCODE_TBX_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_CITY_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_STATE_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_COUNTY_TXT_NAME),textbox).ClientId %>','<%=CType(NYSIF.WCClaim.NewCase.Web.DataGridHelper.GetDataGridFooter(AddressGrid).FindControl(Me.INSERT_COUNTY_ID_TXT_NAME),textbox).ClientId %>')" type=button value="Get Zip Info">
<asp:textbox id=Textbox8 runat="server" CssClass="textInput" Visible="False" Columns="7" MaxLength="7"></asp:textbox></TD></TR>
<TR>
<TD>
<asp:label id=Label70 runat="server" CssClass="label">Country</asp:label></TD>
<TD>
<asp:dropdownlist id=Dropdownlist3 runat="server" CssClass="textInput" DataTextField="SHORTTEXT" DataValueField="CODE" DataSource='<%# NYSIF.Common.CodeTables.CodeTableAccess.RetrieveTable("Country_Lt") %>' AutoPostBack="True">
</asp:dropdownlist></TD>
<TD>
<asp:label id=Label71 runat="server" CssClass="label" Visible="False">County</asp:label></TD>
<TD width="35%">
<asp:label id=Label72 runat="server" CssClass="label"></asp:label>
<asp:label id=Label73 runat="server" CssClass="label"></asp:label></TD></TR>
<TR></TR></TABLE>
<asp:Label id=Label74 runat="server" Text='<%# Container.DataItem("Addr_Id") %>' Visible="False">
</asp:Label>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" CancelText="Cancel" EditText="Edit">
<ItemStyle CssClass="EditColumn">
</ItemStyle>
</asp:EditCommandColumn>
<asp:ButtonColumn Text="Delete" CommandName="Delete">
<ItemStyle CssClass="DeleteColumn">
</ItemStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle Position="TopAndBottom" CssClass="Pager" Mode="NumericPages">
</PagerStyle>
</asp:datagrid><BR>
0
desertfoxmb
8/5/2003 9:11:01 PM
asp.net.vs2002-vs2003 3502 articles. 0 followers. Follow

0 Replies
758 Views

Similar Articles

[PageSpeed] 12
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

Unable to access user control's user control's function\property from another user control
Hi, I used to call an user control's user control function as stated below from my user control in ASP.Net 1.1 wucCompany.wucEmployee.GetEmployeeSomething() After migrating to ASP.Net 2.0, I am unable to use any properties/functions(even the public ones) of the user control's User control's from another user control.  The way I have to do is create property\function in wucCompany which calls the wucEmployee's property\function and call the wucDepartment.GetEmployeeSomething().Since I need to do this change in too many places, I can...

Issue using control created in VS.net 2003 in VS.net 2002
I have a friend that has an issue using my asp.net C# custom control in Visual Studio.net 2002 that I have compiled under Visual Studio.net 2003. I never did test it with that version, but I was under the impression that it should still work as long as you don't use any features specific to the 1.1 framework (which I really don't think I did). My guess now is that this is correct, but only when using 2002 controls in 2003. I have searched the web, these forums, and MSDN for the last 30 minutes with no real answer. The guy that runs MetaBuilders (http://www.metabuilders.com/Faq.aspx) tell...

Label control's text doesn't appear to be set (in the page which has a user control )when trying to update the text property in the FormView's ItemUpdated event
Hi There,I have a user control which hosts a formview control, gridview control and a label control. The grid view is usedto show rows in the DB and when clicked to edit each row, a form view opens up in edit mode with that particular row info. So I have nothing in the item template.My first question is..is it mandatory to have smth in the itemtemplate of the form view.I have controls in edititemtemplate and insertitemtemplate.When a particular row is edited, I would like to show a status msg showing that the row has been updated.For this, I use the ItemUpdated event of the formview and try ...

Vs.Net 2002 and Vs.Net 2003
Hello: I've one question that keeps messing with my head, I want to know if you have: 1. VS.Net 2002 with Framework 1.0 and 1.1 in the same PC, which Framework it compiles apps for? 2. VS.Net 2003 with Framework 1.0 and 1.1 in the same PC, which Framework it compiles apps for? Is it possible to have an app compiled for framework 1.0 that uses DLLs or assemblies compiled for framework 1.1???? and still work ok?? thanks a lot....

IBM's WebSphere vs. MS's .NET (article)
http://www.osopinion.com/perl/story/16270.html "Unlike Microsoft's model, which only allows Windows applications to communicate with other Windows applications, WebSphere is committed to an open source environment. " -- JB Learn the Hazards http://www.staff.uiuc.edu/~ehowes/info17.htm ...

VS.NET 2002 not with VS.NET 2005 Express Edition
Hi! I installed the VS.NET 2005 Express Edition, on VS.NET 2002 machine and my VS.NET 2002 is stop working, unable to recognize the projects, start compiling the VS.NET 2002 projects first in .NET 2.0 then it wont' recognize a bit. Take Care, MudassirMudassir AzeemiSan Francisco, CAWeb: http://www.BonGeek.comBlog: http://blog.BonGeek.com If you're talking about Web Applications, this is because VWD has set IIS to use the 2.0 Framework by default (which it sounds like you know). You can set the framework default with the command "aspnet_regiis -i -enable" - run it from th...

How to open a VS.NET 2003 project in VS.NET 2002
My colleague created a ASP.NET project by VS.NET 2003. I can not open it by the VS.NET 2002 in my machine. Can I call my colleague to modify some settings on this project and so I can open it by 2002? How to do that? thx...

Convert a VS.NET 2003 solution to VS.NET 2002?
Hi, I am working on my personal site now, but I only have an evaultion version of VS.NET 2003, so I want to convert it to an VS.NET 2002 solution. Is it possible to do that?Mikael Söderström Found it :) http://www.eggheadcafe.com/articles/20030425.aspMikael Söderström...

vb.net vs c#.net vs j#.net
just out of curiousity which looks, acts most like java? i'm still learning trying to used to vb.net but it seems that it was easier to do some stuff with java. C# is Java++ in my opinion. If you have done C or Jave you will prefer C#.Mike Schellenberger - MCAD If you are looking for language similar to java go for J#. However most code samples you find on the net will be in VB.NET and C#....

Can i unstall vs.net 2002 after upgrading to vs.net 2003
Can I unsatll visual studio .net 2002 after using the upgrade to visual studio .net 2003. Thers seems to be two version in my programs list. I would like to free up the hard disk space from the previous install. In brief does the upgrade install which appears to be independent of the 2002 install rely on the 2002 install. In my programs I can run 2002 or 2003. However my machine is an older notebook that has limeted hard disk space. thanks in advance Charles Beasley Please replace "unstall" and "unsatll" with the word "uninstall" and in general excu...

Opening project created in VS.NET 2003 in VS.NET 2002?
hi everyone, Can this be done? i'm havin problems opening my applications. the solution file i created is not recognise by VS.NET 2002.. can anyone provide me with a solution? thanks very much.. It is not designed to do this, so don't think you are doing anything wrong. There is a tool designed to do this, it can be foundHERE You must register, but it is a free download. Hope this helps.Chris Paterra thanks very much.....

convert the web application from vs.net 2002 to vs.net 2003
hi how can i convert the web application from vs.net 2002 to vs.net 2003 and how i know that the application is made in vs.net 2002 and not in vs.net 2003 and thank for your time VS.NEt 2003 detects 2002 project format automatically when you try to open 2002 project with it. It also asks you if the project needs to be converted into 2003 format (if I remember right conversion must be done to use the project in 2003). If you say yes, it does the conversion and you don't have to do anything. Note that VS.NEt 2002 can't open 2003 projects.Thanks,Teemu KeiskiFinland, EU thank you for your...

dw.net and VS .Net 2002
After installing DW.Net, I had a toolbox appear labeled Sybase DataWindow in my VS.NET 2002. However, besides the Pointer, it was empty. Any ideas on how to get the object into the tool box. Thanks, Mike DataWindow .NET requires the 1.1 version of the Microsoft Framework and you need Visual Studio 2003, not Visual Studio 2002. Regards, Dave Fish Sybase TeamSybase blogs: http://www.teamsybase.net/blogs DataWindow.NET code examples available on CodeXchange: http://datawindownet.codexchange.sybase.com On 22 Sep 2004 08:43:35 -0700, "Michael Burdette" <...

Send Message to user's Skype' id ,MSN' Id ,Yahoo'sID or Gmail ID.
hi, i m writing a application in which i have to notify the user to his Skype' id ,MSN' Id ,Yahoo'sID or Gmail ID. Please let me know the code usign C#   Thanks Tulika. hi, what do you want to do...i mean....do you wnat to send email's or do you want to send message to the messenger. thanks, rajiv hi i want to send IM messages to online and offline users not Email. Please help me....

Web resources about - VS.Net 2002 Munging label and textbox id's in a user control - asp.net.vs2002-vs2003

Resources last updated: 1/20/2016 5:19:52 PM