This is a migrated thread and some comments may be shown as answers.

Design Mode Error: 'System.Data.DataRowView' does not have a property with the name 'propertyName'

1 Answer 100 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Abdallah
Top achievements
Rank 1
Abdallah asked on 29 Jan 2011, 06:58 AM
Dear Admin ,
i'm using RadCoboBox with objectDatasource by setting the DataSourceID by the objectdatasource ID , the object datasource returned DataTable .

when her tying to render this control in the design mode it gives that error .

Note:its worked fine in the run mode 

Please Give me you assist
my work in the page too slow 

regards 
Ab Abulubbad

<tel:RadComboBox ID="ddlQuarter" Runat="server" A="" AllowCustomText="false"
                  AppendDataBoundItems="true" AutoPostBack="True"  DataSourceID="odsQuarter" DataTextField="LookupDetalDeepName"
                  DataValueField="LookupDetailsDeep_ID"
                  HighlightTemplatedItems="true" MarkFirstMatch="true" Skin="Web20">
                  <Items>
                      <tel:RadComboBoxItem Text="------Please Choose-----" Value="0" />
                  </Items>
              </tel:RadComboBox>
              <asp:ObjectDataSource ID="odsQuarter" runat="server"
                  SelectMethod="GetLockupDetails"
                  TypeName="GWERP.DataAccess.Lockups.GeneralLookupDeep">
                  <SelectParameters>
                      <asp:ControlParameter ControlID="ddlCity" Name="LockupMaster_ID"
                          PropertyName="SelectedValue" Type="Int32" />
                      <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                  </SelectParameters>
              </asp:ObjectDataSource>

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 31 Jan 2011, 12:52 PM
Hi Abdallah,

The design time environment does not reflect all possible fields of the DataRowView object  so it throws this exception. As you have already noted this error exists only in design-time, so it can be considered 'not harmful'.

I hope this helps.

Greetings,
Simon
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ComboBox
Asked by
Abdallah
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or