Clicky

I am trying to capture the distance between to points (addresses) within a form view.  I have two fileds (lines 89-97) that I would like to use as the start and end points and have the results returned to a 3rd field (line 104).  If I click the submit button, I get

"Error: Unable to get value of the property 'value': object is null or undefined"

"Unable to get value of the property 'addDomListener': object is null or undefined"

Am I not referencing the formview field correctly?  Any suggestions?  Thanks!

 <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/VendorPages/VendorWebFormSite.Master" CodeBehind="VendorWebForm.aspx.vb" Inherits="ProVal.VendorWebForm" %>  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">   <script src="http://maps.google.com/maps?file=api&v=2&key=AIzaSyDKHP2te-em81OODP3ln1_Yx3Jjk8pbr4A" type="text/javascript"></script> <!-- According to the Google Maps API Terms of Service you are required display a Google map when using the Google Maps API. see: http://code.google.com/apis/maps/terms.html -->     <script src="../Scripts/Geocode.js" type="text/javascript"></script>       </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="LeftContent" runat="server"> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">     <asp:FormView ID="frmResBPO" runat="server">                  <ItemTemplate>             <table style="width:100%;">                 <tr>                     <th align="center" colspan="8" style="font-size: medium; font-weight: bold"                          class="style5" rowspan="1">                         RESIDENTIAL BROKER PRICE OPINION</th>                 </tr>                 <tr>                     <td class="style8">                         Loan Number:</td>                     <td class="style12">                         <asp:TextBox ID="txtLoanNumber" runat="server" Text='<%# Bind("LoanNumber") %>'></asp:TextBox>                        </td>                     <td class="style10">                         Entered Date*</td>                     <%--<asp:MaskedEditExtender ID="mskdExtDateEntered" runat="server" ClearMaskOnLostFocus="False" InputDirection="RightToLeft" Mask="99/99/99" MaskType="Date" TargetControlID="txtDateEntered">     </asp:MaskedEditExtender><td class="style7">--%>                         <asp:TextBox ID="txtDateEntered" runat="server" TabIndex="1"                              Text='<%# Bind("ReportEnteredDate") %>'></asp:TextBox>                     </td>                     <td class="style8">                         Subject Parcel #: *</td>                     <td class="style2">                         <asp:TextBox ID="txtParcelNumber" runat="server"                              Text='<%# Bind("SubjectParcelNumber") %>'></asp:TextBox>                     </td>                     <td class="style3">                         Owner Name:</td>                     <td class="style7">                         <asp:TextBox ID="txtOwnerName" runat="server" Height="24px" Width="167px"                              Text='<%# Bind("OwnerName") %>'></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style8">                         Vendor/Company Name:</td>                     <td class="style12">                         <asp:TextBox ID="txtVendorCompanyName" runat="server"                              Text='<%# Bind("VendorCompanyName") %>'></asp:TextBox>                     </td>                     <td class="style10">                         Completed By:</td>                     <td class="style7">                         <asp:TextBox ID="txtVendorName" runat="server"                         Text='<%# Bind("VendorName") %>'></asp:TextBox>                     </td>                     <td class="style8">                         Phone Number</td>                     <td class="style2">                         <asp:TextBox ID="txtVendorPhone" runat="server"                          Text='<%# Bind("VendorBusPhone") %>'></asp:TextBox>                     </td>                     <td class="style3">                         Fax Number:</td>                     <td class="style7">                         <asp:TextBox ID="txtVendorFax" runat="server"                          Text='<%# Bind("VendorFax") %>' Width="169px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style4">                         Email Address:</td>                     <td class="style17">                         <asp:TextBox ID="txtVendorEmail" runat="server"                          Text='<%# Bind("VendorEmail") %>'></asp:TextBox>                     </td>                     <td class="style6">                         Broker/Agent Lic#</td>                     <td class="style11">                         <asp:TextBox ID="txtVendorLic" runat="server"></asp:TextBox>                     </td>                     <td class="style4">                     </td>                     <td class="style2">                         <asp:TextBox ID="txtVendorAddressDistance" runat="server"                              Text='<%# Bind("VendorAddrDistance") %>'></asp:TextBox>                     </td>                     <td class="style3">                     </td>                     <td class="style11">                         <asp:TextBox ID="txtSubjectAddressDistance" runat="server"                              Text='<%# Bind("SubjectAddrDistance") %>'></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style4">                         Broker Distance to Subject property:</td>                     <td class="style17">                         <asp:TextBox ID="txtBrokerDistance" runat="server"></asp:TextBox>                         <input type="submit" name="find" value="Search" />                         <input id="btnAcceptBrokerDist" type="submit" value="Accept Distance" />                     </td>                     <td class="style6">                         Years of Experience:</td>                     <td class="style11">                         <asp:TextBox ID="txtExperienceYear" runat="server"></asp:TextBox>                     </td>                     <td class="style4">                         Number of Properties broker has listed in the past 12 months:</td>                     <td class="style2">                         <asp:TextBox ID="txtListed12Months" runat="server" TabIndex="2"></asp:TextBox>                     </td>                     <td class="style3">                         Number of Properties sold in the past 12 months:</td>                     <td class="style11">                         <asp:TextBox ID="txtSold12Months" runat="server" TabIndex="3" Width="167px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style4">                         Address </td>                     <td class="style17">                         <asp:TextBox ID="txtAddr1" runat="server" Text='<%# Bind("PropAddr1") %>'></asp:TextBox>                     </td>                     <td class="style6">                         Address 2</td>                     <td class="style11">                         <asp:TextBox ID="txtAddr2" runat="server" Text='<%# Bind("PropAddr2") %>'></asp:TextBox>                     </td>                     <td class="style4">                         City</td>                     <td class="style2">                         <asp:TextBox ID="txtCity" runat="server" Text='<%# Bind("PropCity") %>'></asp:TextBox>                     </td>                     <td class="style3">                         State</td>                     <td class="style11">                         <asp:TextBox ID="txtState" runat="server" Width="165px"                              Text='<%# Bind("StateAbbr") %>'></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style4">                         Zip</td>                     <td class="style17">                         <asp:TextBox ID="txtZip" runat="server" Text='<%# Bind("PropZip") %>'></asp:TextBox>                     </td>                     <td class="style6">                         County</td>                     <td class="style11">                         <asp:TextBox ID="txtCounty" runat="server" Text='<%# Bind("PropCounty") %>'></asp:TextBox>                     </td>                     <td class="style4">                         &nbsp;</td>                     <td class="style2">                         &nbsp;</td>                     <td class="style3">                         &nbsp;</td>                     <td class="style11">                         &nbsp;</td>                 </tr>                 </table>                 <table>                 <tr>                     <th class="style5" colspan="6" style="font-size: medium; font-weight: bold">                         I. GENERAL MARKET CONDITIONS</th>                 </tr>                 <tr>                     <td class="style18">                         Current market condition:</td>                     <td class="style18">                         <asp:DropDownList ID="dd_SCondition" runat="server" Height="16px" Width="182px"                              TabIndex="4">                         </asp:DropDownList>                     </td>                     <td>                     </td>                     <td class="style18" colspan="2">                         Employment conditions</td>                     <td class="style19">                         <asp:DropDownList ID="dd_SEmployment" runat="server" Height="16px" Width="172px"                              TabIndex="5">                         </asp:DropDownList>                         </td>                 </tr>                 <tr>                     <td class="style8">                         Market price of this type property has:</td>                     <td class="style8">                         <asp:DropDownList ID="dd_SMktPrice" runat="server" Width="142px" TabIndex="6">                         </asp:DropDownList>                         <asp:TextBox ID="txt_SMktPricePercent" runat="server" Height="20px" Width="28px"                              TabIndex="7"></asp:TextBox>                     </td>                     <td>                     </td>                     <td class="style8" colspan="2">                         Estimate % of Ownership vs Rental</td>                     <td>                         Owner                         <asp:TextBox ID="TextBox19" runat="server" Height="22px" Width="30px"                              TabIndex="8"></asp:TextBox>                         &nbsp;&nbsp; Tenent                         <asp:TextBox ID="TextBox20" runat="server" Height="21px" Width="39px"                              TabIndex="9"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style8">                         Comparable Supply</td>                     <td class="style8">                         <asp:DropDownList ID="DropDownList4" runat="server" Height="16px" Width="177px"                              TabIndex="10">                         </asp:DropDownList>                     </td>                     <td>                     </td>                     <td class="style3" colspan="2">                         Approximate # of comparable units for sale in neighborhood:</td>                     <td>                         <asp:TextBox ID="TextBox22" runat="server" Height="22px" Width="168px"                              TabIndex="11"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style8">                         # of competing listings that REO or Corporate owned</td>                     <td class="style8">                         <asp:TextBox ID="TextBox21" runat="server" Width="170px" TabIndex="12"></asp:TextBox>                     </td>                     <td>                         &nbsp;</td>                     <td class="style7" colspan="2">                         Is this an REO or Short Sale Driven area</td>                     <td>                         <asp:DropDownList ID="DropDownList6" runat="server" Height="16px" Width="177px"                              TabIndex="13">                         </asp:DropDownList>                     </td>                 </tr>                 <tr>                     <td class="style8">                         # of boarded or blocked-up homes:</td>                     <td class="style8">                         <asp:DropDownList ID="DropDownList8" runat="server" Height="16px" TabIndex="14"                              Width="177px">                         </asp:DropDownList>                     </td>                     <td class="style8">                         &nbsp;</td>                     <td class="style2" colspan="2">                         Is this county currently declared a disaster area?</td>                     <td class="style7">                         <asp:DropDownList ID="DropDownList5" runat="server" Height="16px" Width="177px"                              TabIndex="15">                         </asp:DropDownList>                     </td>                 </tr>                 <tr>                     <td class="style8">                         # of competing new construction in neighborhood:</td>                     <td class="style8">                         <asp:TextBox ID="TextBox24" runat="server" Height="20px" Width="170px"                              TabIndex="16"></asp:TextBox>                     </td>                     <td class="style8">                         &nbsp;</td>                     <td class="style2">                         &nbsp;</td>                     <td class="style3">                         &nbsp;</td>                     <td class="style7">                         &nbsp;</td>                 </tr>                 </table>                 <table>                 <tr>                     <th class="style5" colspan="5" style="font-size: medium; font-weight: bold">                         II. SUBJECT MARKETABILITY</th>                 </tr>                 <tr>                     <td class="style15">                         Neighborhood Boundries defined</td>                     <td class="style15" colspan="4">                         <textarea id="txtLegalDesc" name="S1" readonly="readonly" rows="2" cols="10"                             tabindex="17"></textarea></td>                 </tr>                 <tr>                     <td class="style15">                         Range of sales in the neighborhood is:</td>                     <td class="style15">                         <asp:TextBox ID="TextBox25" runat="server" TabIndex="18" Width="170px"></asp:TextBox>                     </td>                     <td dir="rtl">                         to</td>                     <td class="style2">                         <asp:TextBox ID="TextBox26" runat="server" TabIndex="19" Width="170px"></asp:TextBox>                     </td>                     <td class="style35">                         Total # of Properties<asp:TextBox ID="TextBox27" runat="server" Height="20px"                              TabIndex="20" Width="71px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Range of listings in the neighborhood is:</td>                     <td class="style15">                         <asp:TextBox ID="TextBox28" runat="server" Width="170px" TabIndex="21"></asp:TextBox>                     </td>                     <td dir="rtl">                         to</td>                     <td class="style2">                         <asp:TextBox ID="TextBox29" runat="server" Width="170px" TabIndex="22"></asp:TextBox>                     </td>                     <td class="style35">                         Total # of Properties<asp:TextBox ID="TextBox30" runat="server" Height="20px"                              Width="71px" TabIndex="23"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         The subject is an:</td>                     <td class="style15">                         <asp:DropDownList ID="DropDownList7" runat="server" Height="16px" Width="177px"                              TabIndex="24">                         </asp:DropDownList>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Normal marketing time in the area is:</td>                     <td class="style35">                         <asp:TextBox ID="TextBox228" runat="server" TabIndex="33" Width="170px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Are all types of financing available for the property:</td>                     <td class="style15">                         <asp:DropDownList ID="DropDownList10" runat="server" Height="16px"                              Width="177px" TabIndex="26">                         </asp:DropDownList>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Has the property been sold in the last 12 months:</td>                     <td class="style35">                         <asp:DropDownList ID="DropDownList11" runat="server" Height="16px"                              Width="177px" TabIndex="27">                         </asp:DropDownList>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Is the subject currenlty listed for sale:</td>                     <td class="style15">                         <asp:DropDownList ID="DropDownList12" runat="server" Height="16px"                              Width="177px" TabIndex="28">                         </asp:DropDownList>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Original Listing Price:</td>                     <td class="style35">                         <asp:TextBox ID="TextBox31" runat="server" Width="170px" TabIndex="29"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         If listed, provide the brokers name:</td>                     <td class="style15">                         <asp:TextBox ID="TextBox32" runat="server" Width="170px"></asp:TextBox>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Firm:</td>                     <td class="style35">                         <asp:TextBox ID="TextBox33" runat="server" Width="170px" TabIndex="31"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Phone:</td>                     <td class="style15">                         <asp:TextBox ID="TextBox34" runat="server" Width="170px" TabIndex="32"></asp:TextBox>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Subject&#39;s last sale price:</td>                     <td class="style35">                         <asp:TextBox ID="TextBox35" runat="server" Width="170px" TabIndex="33"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Unit Type:</td>                     <td class="style15">                         <asp:DropDownList ID="DropDownList13" runat="server" Height="16px"                              Width="177px" TabIndex="34">                         </asp:DropDownList>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         HOA</td>                     <td class="style35">                         <asp:DropDownList ID="DropDownList14" runat="server" Height="16px"                              Width="177px" TabIndex="35">                         </asp:DropDownList>                     </td>                 </tr>                 <tr>                     <td class="style15">                         If condo or other association exists, fee:</td>                     <td class="style15">                         <asp:TextBox ID="TextBox36" runat="server" Height="21px" Width="31px"                              TabIndex="36"></asp:TextBox>                         &nbsp; How often:<asp:DropDownList ID="DropDownList15" runat="server" Height="16px"                              Width="85px">                         </asp:DropDownList>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Amount delinquent:</td>                     <td class="style35">                         <asp:TextBox ID="TextBox37" runat="server" Width="170px" TabIndex="37"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         The fee includes:</td>                     <td class="style15">                         &nbsp;</td>                     <td>                         &nbsp;</td>                     <td class="style2">                         &nbsp;</td>                     <td class="style35">                         &nbsp;</td>                 </tr>                 <tr>                     <td class="style15">                         Association contact::</td>                     <td class="style15">                         <asp:TextBox ID="TextBox38" runat="server" Width="170px" TabIndex="39"></asp:TextBox>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Phone:</td>                     <td class="style35">                         <asp:TextBox ID="TextBox41" runat="server" Width="170px" TabIndex="40"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Project Name</td>                     <td class="style15">                         <asp:TextBox ID="TextBox39" runat="server" Width="170px" TabIndex="41"></asp:TextBox>                     </td>                     <td>                         &nbsp;</td>                     <td class="style2">                         Total # of units</td>                     <td class="style35">                         <asp:TextBox ID="TextBox40" runat="server" Width="170px" TabIndex="42"></asp:TextBox>                     </td>                 </tr>                 </table>                 <table>                 <tr>                     <td class="style9" colspan="5" style="font-size: medium; font-weight: bold">                         III. COMPETITIVE CLOSED SALES</td>                 </tr>                 <tr>                     <td class="style15" style="font-weight: bold; font-size: small">                         ITEM</td>                     <td class="style15" style="font-weight: bold; font-size: small" align="center">                         SUBJECT</td>                     <td style="font-weight: bold; font-size: small" align="center">                         COMPARABLE NUMBER 1</td>                     <td class="style2" style="font-weight: bold; font-size: small" align="center">                         COMPARABLE NUMBER 2</td>                     <td class="style16" style="font-weight: bold; font-size: small" align="center">                         COMPARABLE NUMBER 3<br /> </td>                 </tr>                 <tr>                     <td class="style15">                         Address</td>                     <td class="style15">                         <asp:TextBox ID="TextBox42" runat="server" TabIndex="18" Width="170px"></asp:TextBox>                         <br />                         <asp:TextBox ID="TextBox43" runat="server" Height="23px" TabIndex="18"                              Width="82px"></asp:TextBox>                         <asp:TextBox ID="TextBox44" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                         <asp:TextBox ID="TextBox45" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                     </td>                     <td>                         <asp:TextBox ID="TextBox46" runat="server" TabIndex="18" Width="170px"></asp:TextBox>                         <asp:TextBox ID="TextBox49" runat="server" Height="23px" TabIndex="18"                              Width="82px"></asp:TextBox>                         <asp:TextBox ID="TextBox52" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                         <asp:TextBox ID="TextBox53" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                     </td>                     <td class="style2">                         <asp:TextBox ID="TextBox47" runat="server" TabIndex="18" Width="170px"></asp:TextBox>                         <br />                         <asp:TextBox ID="TextBox50" runat="server" Height="23px" TabIndex="18"                              Width="83px"></asp:TextBox>                         <asp:TextBox ID="TextBox54" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                         <asp:TextBox ID="TextBox55" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                     </td>                     <td class="style16">                         <asp:TextBox ID="TextBox48" runat="server" TabIndex="18" Width="170px"></asp:TextBox>                         <br />                         <asp:TextBox ID="TextBox51" runat="server" Height="23px" TabIndex="18"                              Width="82px"></asp:TextBox>                         <asp:TextBox ID="TextBox56" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                         <asp:TextBox ID="TextBox57" runat="server" Height="24px" TabIndex="18"                              Width="43px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Proximity to Subject</td>                     <td class="style15">                         &nbsp;</td>                     <td>                         <asp:TextBox ID="TextBox58" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style2">                         <asp:TextBox ID="TextBox59" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style16">                         <asp:TextBox ID="TextBox60" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Sale Price</td>                     <td class="style15">                         <asp:TextBox ID="TextBox61" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td>                         <asp:TextBox ID="TextBox62" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style2">                         <asp:TextBox ID="TextBox63" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style16">                         <asp:TextBox ID="TextBox64" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Price/Gross Living Area</td>                     <td class="style15">                         <asp:TextBox ID="TextBox65" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td>                         <asp:TextBox ID="TextBox66" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style2">                         <asp:TextBox ID="TextBox67" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style16">                         <asp:TextBox ID="TextBox68" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         List Price at Sale/# of Price Reductions</td>                     <td class="style15">                         &nbsp;</td>                     <td>                         <asp:TextBox ID="TextBox69" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         <br />                         <asp:TextBox ID="TextBox70" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style2">                         <asp:TextBox ID="TextBox71" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         <br />                         <asp:TextBox ID="TextBox72" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                     <td class="style16">                         <asp:TextBox ID="TextBox73" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         <br />                         <asp:TextBox ID="TextBox74" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                     </td>                 </tr>                 <tr>                     <td class="style15">                         Sale Type:</td>                     <td class="style15">                         &nbsp;</td>                     <td>                         <asp:DropDownList ID="DropDownList17" runat="server" Height="16px"                              TabIndex="38" Width="177px">                         </asp:DropDownList>                     </td>                     <td class="style2">                         <asp:DropDownList ID="DropDownList18" runat="server" Height="16px"                              TabIndex="38" Width="177px">                         </asp:DropDownList>                     </td>                     <td class="style16">                         <asp:DropDownList ID="DropDownList19" runat="server" Height="16px"                              TabIndex="38" Width="177px">                         </asp:DropDownList>                     </td>                 </tr>                     <tr>                         <td class="style20">                             Sale Date                         </td>                         <td class="style20">                         </td>                         <td class="style6">                             <asp:TextBox ID="TextBox75" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         </td>                         <td class="style6">                             <asp:TextBox ID="TextBox77" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         </td>                         <td class="style21">                             <asp:TextBox ID="TextBox79" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style15">                             Date on Market:</td>                         <td class="style15">                             &nbsp;</td>                         <td>                             <asp:TextBox ID="TextBox76" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         </td>                         <td class="style2">                             <asp:TextBox ID="TextBox78" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:TextBox ID="TextBox80" runat="server" TabIndex="41" Width="170px"></asp:TextBox>                         </td>                     </tr>                     </table>                     <table>                                          <tr>                         <td class="style22" align="center" style="font-weight: bold">                             VALUE ADJUSTMENTS</td>                         <td class="style16" align="center" style="font-weight: bold">                             DESCRIPTION</td>                         <td class="style23" align="center" style="font-weight: bold">                             DESCRIPTION</td>                         <td class="style24" align="center" style="font-weight: bold">                             +(-) ADJ</td>                         <td class="style16" align="center" style="font-weight: bold">                             DESCRIPTION</td>                         <td class="style25" align="center" style="font-weight: bold">                             +(-) ADJ</td>                         <td class="style26" align="center" style="font-weight: bold">                             DESCRIPTION</td>                         <td class="style25" align="center" style="font-weight: bold">                             +(-) ADJ</td>                     </tr>                     <tr>                         <td class="style22">                             Sales or Financing Concessions</td>                         <td class="style16">                             &nbsp;</td>                         <td class="style23">                             <asp:TextBox ID="TextBox88" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox115" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:TextBox ID="TextBox89" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox135" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:TextBox ID="TextBox90" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox155" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             Location Type</td>                         <td class="style16">                             <asp:TextBox ID="TextBox81" runat="server" Height="23px" TabIndex="18"                                  Width="82px"></asp:TextBox>                         </td>                         <td class="style23">                             <asp:DropDownList ID="DropDownList29" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox116" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList30" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox136" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:DropDownList ID="DropDownList31" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox156" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             Leasehold/Fee Simple</td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList20" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style23">                             <asp:DropDownList ID="DropDownList32" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox279" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList33" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox280" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:DropDownList ID="DropDownList76" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox157" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             Lot Size</td>                         <td class="style16">                             <asp:TextBox ID="TextBox82" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style23">                             <asp:TextBox ID="TextBox91" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox118" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:TextBox ID="TextBox92" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox290" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:TextBox ID="TextBox291" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox158" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             # of Units</td>                         <td class="style16">                             <asp:TextBox ID="TextBox83" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style23">                             <asp:TextBox ID="TextBox94" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox119" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:TextBox ID="TextBox95" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox139" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:TextBox ID="TextBox96" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox159" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             View</td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList21" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style23">                             <asp:DropDownList ID="DropDownList35" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox120" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList82" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox140" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:DropDownList ID="DropDownList37" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox160" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             Design/Appeal</td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList22" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style23">                             <asp:DropDownList ID="DropDownList38" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>                                                     </td>                         <td class="style16">                             <asp:DropDownList ID="DropDownList39" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox141" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:DropDownList ID="DropDownList40" runat="server" Height="16px"                                  TabIndex="38" Width="98px">                             </asp:DropDownList>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox161" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                     </tr>                     <tr>                         <td class="style22">                             Year Built</td>                         <td class="style16">                             <asp:TextBox ID="TextBox190" runat="server"></asp:TextBox>                                                     </td>                         <td class="style23">                             <asp:TextBox ID="TextBox97" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style24">                             <asp:TextBox ID="TextBox122" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style16">                             <asp:TextBox ID="TextBox98" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <td class="style25">                             <asp:TextBox ID="TextBox142" runat="server" Height="22px" TabIndex="18"                                  Width="56px"></asp:TextBox>                         </td>                         <td class="style26">                             <asp:TextBox ID="TextBox99" runat="server" Height="23px" TabIndex="18"                                  Width="88px"></asp:TextBox>                         </td>                         <

                            

asked 12/13/2011 08:02

rcowen00's gravatar image

rcowen00 ♦♦


6 Answers:
Wow that's some formview. What does it look like? Where is javascript? control names get changed on client side especially when in container controls such as formview, repeater and gridview.
link

answered

CodeCruiser's gravatar image

CodeCruiser

Yeah, it's a beast.  We are considering breaking it up into 3 or 4 pages.  It is the data entry page for an appraisal type product.  We wanted to keep it pretty close to what the appraisers are familiar with.  Would you suggest breaking it up or keeping it together?  The java script is attached.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
var geocoder, location1, location2;

google.maps.event.addDomListener(window, 'load', initialize);

function initialize() {
    geocoder = new GClientGeocoder();
}
function showLocation() {
    geocoder.getLocations(document.forms[0].txtVendorAddressDistance.value, function (response) {
        if (!response || response.Status.code != 200) {
            alert("Sorry, we were unable to geocode the first address");
        }
        else {
            location1 = { lat: response.Placemark[0].Point.coordinates[1], lon: response.Placemark[0].Point.coordinates[0], address: response.Placemark[0].address };
            geocoder.getLocations(document.forms[0].txtSubjectAddressDistance.value, function (response) {
                if (!response || response.Status.code != 200) {
                    alert("Sorry, we were unable to geocode the second address");
                }
                else {
                    location2 = { lat: response.Placemark[0].Point.coordinates[1], lon: response.Placemark[0].Point.coordinates[0], address: response.Placemark[0].address };
                    calculateDistance();
                }
            });
        }
    });
}
function calculateDistance() {
    try {
        var glatlng1 = new GLatLng(location1.lat, location1.lon);
        var glatlng2 = new GLatLng(location2.lat, location2.lon);
        var miledistance = glatlng1.distanceFrom(glatlng2, 3959).toFixed(1);
        var kmdistance = (miledistance * 1.609344).toFixed(1);

        document.getElementById('results').innerHTML = '<strong>Address 1: </strong>' + location1.address + '<br /><strong>Address 2: </strong>' + location2.address + '<br /><strong>Distance: </strong>' + miledistance + ' miles';
        //			document.getElementById('results').innerHTML = '<strong>Address 1: </strong>' + location1.address + '<br /><strong>Address 2: </strong>' + location2.address + '<br /><strong>Distance: </strong>' + miledistance + ' miles (or ' + kmdistance + ' kilometers)';
    }
    catch (error) {
        alert(error);
    }
}
link

answered 2011-12-14 at 03:32:08

rcowen00's gravatar image

rcowen00

>document.forms[0].txtVendorAddressDistance.value

I think this wont work. I would try something like below

var txt = document.getElementById(<%# txtVendorAddressDistance.ClientID %>).value;

It may still not work because txtVendorAddressDistance wont be accessible even on server side.
link

answered 2011-12-14 at 11:47:45

CodeCruiser's gravatar image

CodeCruiser

I will give that a try, but if it doesn't work how can I make it available?  I actually have this data available from the tables in the database, but on the next distance I need to calculate I may not, but I can add that step.  Any suggestions how to do that.
link

answered 2011-12-14 at 12:57:35

rcowen00's gravatar image

rcowen00

I think main problem is form view. If you add another textbox outsite of formview, you will see that you can access it.
link

answered 2011-12-14 at 13:50:44

CodeCruiser's gravatar image

CodeCruiser

Update:  Your suggestion worked great. The code attached is working.  Thanks again.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CompEvalProperty.aspx.vb" Inherits="ProVal.CompEvalProperty" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
  <head runat="server">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>Google Maps JavaScript API Example: Extraction of Geocoding Data</title>

    <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA7j_Q-rshuWkc8HyFI4V2HxQYPm-xtd00hTQOC0OXpAMO40FHAxT29dNBGfxqMPq5zwdeiDSHEPL89A" type="text/javascript"></script>
<!-- According to the Google Maps API Terms of Service you are required display a Google map when using the Google Maps API. see: http://code.google.com/apis/maps/terms.html -->
    <script type="text/javascript">

        var geocoder, location1, location2;

        function initialize() {
            geocoder = new GClientGeocoder();
        }

        function showLocation() {
            geocoder.getLocations(document.forms[0].address1.value, function (response) {
                if (!response || response.Status.code != 200) {
                    alert("Sorry, we were unable to geocode the first address");
                }
                else {
                    location1 = { lat: response.Placemark[0].Point.coordinates[1], lon: response.Placemark[0].Point.coordinates[0], address: response.Placemark[0].address };
                    geocoder.getLocations(document.forms[0].address2.value, function (response) {
                        if (!response || response.Status.code != 200) {
                            alert("Sorry, we were unable to geocode the second address");
                        }
                        else {
                            location2 = { lat: response.Placemark[0].Point.coordinates[1], lon: response.Placemark[0].Point.coordinates[0], address: response.Placemark[0].address };
                            calculateDistance();
                        }
                    });
                }
            });
        }

        function calculateDistance() {
            try {
                var glatlng1 = new GLatLng(location1.lat, location1.lon);
                var glatlng2 = new GLatLng(location2.lat, location2.lon);
                var miledistance = glatlng1.distanceFrom(glatlng2, 3959).toFixed(1);
                var kmdistance = (miledistance * 1.609344).toFixed(1);

                document.getElementById('result').innerHTML = '<strong>Address 1: </strong>' + location1.address + '<br /><strong>Address 2: </strong>' + location2.address + '<br /><strong>Distance: </strong>' + miledistance + ' miles (or ' + kmdistance + ' kilometers)';
            }
            catch (error) {
                alert(error);
            }
        }
 
    </script>
    <style type="text/css">
        .labels
        {
           text-align:right;
           width: 300px;
        }
        .dropdown
        {
            height: 30px;
            width: 180px;
        }
        .txtbox
        {
            height: 20px;
            width: 180px;
        }
        
    </style>
</head>
<body  onload="initialize()">
 
    <form id="Form1" runat="server" action="#" onsubmit="showLocation(); return false;">
    <asp:scriptmanager runat="server"></asp:scriptmanager>
    <div class="leftCol">
    <div class="clear hideSkiplink">
        <asp:Menu ID="Menu1" runat="server">
        <Items>
                        <asp:MenuItem NavigateUrl="CompEvalProperty.aspx" Text="Property/Vendor Section"/>
                        <asp:MenuItem NavigateUrl="GeneralMarketConditions.aspx" Text="General Market Conditions"/>
                        <asp:MenuItem NavigateUrl="SubjectMarketability.aspx" Text="Subject Marketability"/>
                        <asp:MenuItem NavigateUrl="Accounting.aspx" Text="Accounting"/>
                        </Items>
        </asp:Menu>
    </div></div>
    <div style="height: 188px; width: 1097px">
    <table style="width:100%;">
                <tr>
                    <th align="center" colspan="8" style="font-size: medium; font-weight: bold" 
                        class="style1" rowspan="1">
                        <asp:Label ID="lblFormName" runat="server" Text="FORM NAME HERE"></asp:Label>
                    </th>
                </tr>
                <tr>
                    <td class="style5"> 
                        <asp:Label ID="Label1" runat="server" Text="Loan Number:" class="labels"></asp:Label>
                        </td>
                    <td class="style12">
                        <asp:TextBox ID="txtLoanNumber" runat="server" TabIndex="1" Text='<%# Bind("LoanNumber") %>' 
                            ReadOnly="True" class="txtbox"></asp:TextBox>   
                    </td>
                    <td class="style5"> 
                        <asp:Label ID="Label2" runat="server" Text="Date Entered *:" class="labels"></asp:Label>
                        </td>
                    <%--<asp:MaskedEditExtender ID="mskdExtDateEntered" runat="server" ClearMaskOnLostFocus="False" InputDirection="RightToLeft" Mask="99/99/99" MaskType="Date" TargetControlID="txtDateEntered">
    </asp:MaskedEditExtender>--%><td class="style7">
                        <asp:TextBox ID="txtDateEntered" runat="server" TabIndex="2" class="txtbox"
                            ></asp:TextBox>
                    </td>
                    <td class="style3">
                        Subject Parcel #: *</td>
                    <td class="style2">
                        <asp:TextBox ID="txtParcelNumber" runat="server" class="txtbox"
                             TabIndex="3"></asp:TextBox>
                    </td>
                    <td class="labels">
                        Owner Name:</td>
                    <td class="style7">
                        <asp:TextBox ID="txtOwnerName" runat="server" class="txtbox" TabIndex="4"
                            ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="labels">
                        Vendor/Company Name:</td>
                    <td class="style12">
                        <asp:TextBox ID="txtVendorCompanyName" runat="server" class="txtbox" TabIndex="5"
                             ReadOnly="True"></asp:TextBox>
                    </td>
                    <td class="labels">
                        Completed By:</td>
                    <td class="style7">
                        <asp:TextBox ID="txtVendorName" runat="server" class="txtbox" TabIndex="6"
                        ReadOnly="True"></asp:TextBox>
                    </td>
                    <td class="style3">
                        Phone Number</td>
                    <td class="style2">
                        <asp:TextBox ID="txtVendorPhone" runat="server"  class="txtbox" TabIndex="7"
                        ></asp:TextBox>
                    </td>
                    <td class="labels">
                        Fax Number:</td>
                    <td class="style7">
                        <asp:TextBox ID="txtVendorFax" runat="server" TabIndex="8"
                         class="txtbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="labels">
                        Email Address:</td>
                    <td class="style17">
                        <asp:TextBox ID="txtVendorEmail" runat="server" class="txtbox" TabIndex="9">
                        </asp:TextBox>
                    </td>
                    <td class="labels">
                        Broker/Agent Lic#</td>
                    <td>
                        <asp:TextBox ID="txtVendorLic" runat="server" TabIndex="10"></asp:TextBox>
                    </td>
                    <td class="style4">
                    </td>
                    <td class="style2">
                       
                    </td>
                    <td class="labels">
                    </td>
                    <td class="style11">
                       
                    </td>
                </tr>
                <tr>
                    <td class="labels">
                        Broker Distance to Subject property:</td>
                    <td class="style17">
                        <asp:TextBox ID="txtBrokerDistance" runat="server" class="txtbox" TabIndex="13"></asp:TextBox> 
                        <input type="submit" name="find" value="Search" />
                        <asp:Button ID="btnCalcBrokerDistance" runat="server" Text="Calculate Broker Distance" />
                        <asp:PopupControlExtender ID="CalculateBrokerDistance" runat="server" 
                            TargetControlID="btnCalcBrokerDistance" PopupControlID="pnlCalcBrokerDistance" 
                            Position="Right" CommitProperty="txtBrokerDistance">
                        </asp:PopupControlExtender>
                        
                    </td>
                    <td class="labels">
                        Years of Experience:</td>
                    <td class="style11">
                        <asp:TextBox ID="txtExperienceYear" runat="server" ReadOnly="True" class="txtbox" TabIndex="14"></asp:TextBox>
                    </td>
                    <td class="style3">
                        Number of Properties broker has listed in the past 12 months:</td>
                    <td class="style2">
                        <asp:TextBox ID="txtListed12Months" runat="server" TabIndex="15" class="txtbox"></asp:TextBox>
                    </td>
                    <td class="labels">
                        Number of Properties sold in the past 12 months:</td>
                    <td class="style11">
                        <asp:TextBox ID="txtSold12Months" runat="server" TabIndex="16" class="txtbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="labels" >
                        Address </td>
                    <td class="style17">
                        <asp:TextBox ID="txtAddr1" runat="server" TabIndex="17" class="txtbox"></asp:TextBox>
                    </td>
                    <td class="labels">
                        Address 2</td>
                    <td class="style11">
                        <asp:TextBox ID="txtAddr2" runat="server" class="txtbox" TabIndex="18"></asp:TextBox>
                    </td>
                    <td class="style3">
                        City</td>
                    <td class="style2">
                        <asp:TextBox ID="txtCity" runat="server" class="txtbox" TabIndex="19"></asp:TextBox>
                    </td>
                    <td class="labels">
                        State</td>
                    <td class="style11">
                        <asp:TextBox ID="txtState" runat="server" class="txtbox" TabIndex="20"></asp:TextBox>
                            
                    </td>
                </tr>
                <tr>
                    <td class="labels">
                        Zip</td>
                    <td class="style17">
                        <asp:TextBox ID="txtZip" runat="server" class="txtbox" TabIndex="21"></asp:TextBox>
                    </td>
                    <td class="labels">
                        County</td>
                    <td class="style11">
                        <asp:TextBox ID="txtCounty" runat="server" class="txtbox" TabIndex="22"></asp:TextBox>
                    </td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style2">
                        &nbsp;</td>
                    <td class="labels">
                        &nbsp;</td>
                    <td class="style11">
                        <asp:Button ID="btnSaveCompEvalProperty" runat="server" Text="Button" /></td>
                </tr>
                </table>
                </div>
    <asp:Panel ID="pnlCalcBrokerDistance" runat="server" BackColor="#CCCCFF" 
        BorderColor="Black" BorderStyle="Solid">
        <table>
        <tr>
        <td><asp:Label ID="Label3" runat="server" Text="Vendor Address"></asp:Label></td>
        <td> <asp:TextBox ID="address1"  runat="server" class="txtbox"></asp:TextBox></td>
        </tr>
        <tr>
        <td><asp:Label ID="Label4" runat="server" Text="Property Address"></asp:Label></td>
        <td><asp:TextBox ID="address2" runat="server" class="txtbox"></asp:TextBox></td>
        </tr>
        </table>
       
      
      <p id="result"></p>

    </asp:Panel>
    </form>
    
</body>
</html>
link

answered 2011-12-14 at 14:02:37

rcowen00's gravatar image

rcowen00

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×102
×132
×79

Asked: 12/13/2011 08:02

Seen: 340 times

Last updated: 12/14/2011 06:03