When using the repeater with search results...

Last post 10/15/2008 2:13:54 PM by Chris Pietschmann. 3 replies. << Back to Web.Maps.VE v2.0 General
9/18/2008 11:58:56 AM
mobchase

When using the repeater with search results...

I'm getting the following error:

DataBinding: 'Simplovation.Web.Maps.VE.Place' does not contain a property with the name 'Shape'.

Your help would be greatly appreciated.... see code below:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addyLookup.aspx.cs" Inherits="addyLookup" %>

<%@ Register Assembly="Simplovation.Web.Maps.VE" Namespace="Simplovation.Web.Maps.VE" TagPrefix="Simplovation" %>

<%@ Register src="menu.ascx" tagname="menu" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title>Address Lookup</title>

<link href="StyleSheet.css" rel="stylesheet" type="text/css" />

</head>

<body>

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<div>

<uc1:menu ID="menu1" runat="server" />

</div>

<table border="0" cellpadding="0" cellspacing="0">

<tr valign="top">

<td style="width:100%; padding-left:12px;">

<img src="Images/lbladdresslookup.png" alt="" />

</td>

<td style="width:200px; vertical-align:middle;">

<div style="padding-right:20px;">

<asp:ImageButton ID="btnDashboard" runat="server"

ImageUrl="~/Images/buttons/Dashboard.png" PostBackUrl="~/Default.aspx"

style="top: 125px; left: 854px; height: 30px; width: 100px; z-index: 1;" />

</div>

</td>

</tr>

</table>

<asp:Panel ID="Panel1" runat="server"

style="top: 110px; left: -2px; position: absolute; height: 82px; width: 573px">

<asp:Label ID="Label1" runat="server"

Text="Find businesses, addresses and places of interest. " ForeColor="Gray"

style="top: 54px; left: 15px; position: absolute; height: 14px; width: 320px"></asp:Label>

<asp:TextBox ID="txtSearch" runat="server"

style="top: 25px; left: 15px; position: absolute; height: 22px; width: 319px"></asp:TextBox>

<asp:ImageButton ID="btnSearch" runat="server"

ImageUrl="~/Images/buttons/search.png" style="top: 23px; left: 346px; position: absolute; height: 30px; width: 100px; z-index: 1;"

onclick="btnSearch_Click" TabIndex="0" />

<asp:ImageButton ID="btnShowTraffic" runat="server"

ImageUrl="~/Images/buttons/showtraffic.png"

style="top: 23px; left: 456px; position: absolute; height: 30px; width: 100px; z-index: 1;"

TabIndex="0" />

</asp:Panel>

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">

<ContentTemplate>

</ContentTemplate>

<Triggers>

<asp:AsyncPostBackTrigger ControlID="btnSearch" EventName="Click" />

<asp:AsyncPostBackTrigger ControlID="btnShowTraffic" EventName="Click" />

</Triggers>

</asp:UpdatePanel>

<asp:Panel ID="Panel2" runat="server"

style="top: 191px; left: 14px; position: absolute; height: 375px; width: 1041px">

<table cellspacing="0" cellpadding="0">

<tr>

<td>

<div style="background-color:silver; width: 300px; height:400px; border: solid 1px black; padding: 2px; border-right: none; overflow: scroll; color:Black;">

<asp:UpdatePanel runat="server" ID="Upda