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

Grid: GridDropDownColumn: Error on Insert

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thaya
Top achievements
Rank 1
Thaya asked on 19 Mar 2010, 10:07 AM
Hi, I am using GridDropDownColumn in a grid, and getting this error when I click Add:
DataBinding: 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name 'BenefitCategoryId'.

//my declarative source code
<telerik:GridDropDownColumn DataField="BenefitCategoryId" ListTextField="Description" ListValueField="Id" DataSourceID="CategorySource" HeaderText="Kategory Beskrivelse">
</telerik:GridDropDownColumn>

//DataSoruce soruce code
<mrc:BusinessObjectDataSource runat="server" ID="CategorySource" BusinessObjectName="BenefitCategory"
        BusinessObjectAssembly="BusinessObjects" BusinessObjectNamespace="Company.BusinessObjects">
        <SelectParameters>
            <asp:ControlParameter ControlID="CorporationDropDownList" PropertyName="SelectedValue"
                Name="CorporationId" Type="String" />
        </SelectParameters>
         <InsertParameters>
            <asp:ControlParameter ControlID="CorporationDropDownList" PropertyName="SelectedValue"
                Name="CorporationId" Type="String" />
        </InsertParameters>
    </mrc:BusinessObjectDataSource>

I read below articles, is this problem is solved?
http://www.telerik.com/community/forums/aspnet-ajax/grid/error-on-insert.aspx

How can I solve this problem?

Thanks,
Thaya

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 24 Mar 2010, 05:05 PM
Hello Thaya,

Could you please specify what the actual exception message is? It would also be very helpful if you could open a formal support ticket and send me a sample working example demonstrating your scenario. This way I would be able to pinpoint the issue and provide you with more to-the-point solution.

Regards,
Martin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Thaya
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or