Insert issue

6 posts, 0 answers
  1. fer
    fer avatar
    26 posts
    Member since:
    Feb 2009

    Posted 04 Mar 2009 Link to this post

    Hi, I have an issue when PerformInsert event is finishing, where I have this line:

    This line calls to the RadGrid_NeedDataSource event, which has a line like this:
    RadGrid.DataSource = Session["ObjectList"];

    The problem is that when this last event is fired, I have an error like this:

     "DataBinding: 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name"

    This only fails at the PerformInsert event but not at update or delete...

    any  ideas?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 Mar 2009 Link to this post


    The reason for this error is that your grid instance can not bind a value for the newly inserted item through the Eval()/Bind() syntax you hard-coded. For more information on this, you can refer to the section "Error message "Telerik.Web.UI.GridInsertionObject does not contain a property with the name <some_name>" in the following documetation which explains in detail about this kind of an error:
    Known reasons for error messages

  3. DevCraft R3 2016 release webinar banner
  4. fer
    fer avatar
    26 posts
    Member since:
    Feb 2009

    Posted 05 Mar 2009 Link to this post

    Thanks, I will read the article that you have sent me, but why is it working when I try to edit or delete a row? Only at the PerfomInsert it fails...
    The error appears from the edit form and not from the grid.
    Another strange thing that I saw is that if I quit the rebind from the PerfomInsert and I click on "cancel" button after the insert, it works fine, without problems.

    any ideas?

  5. rick
    rick avatar
    11 posts
    Member since:
    Nov 2007

    Posted 06 May 2009 Link to this post

    I'm having the same issue, was this ever resolved?
  6. Mark Galbreath
    Mark Galbreath avatar
    171 posts
    Member since:
    Jul 2009

    Posted 15 Oct 2009 Link to this post

    The documentation on Insert (and everything else) sucks, as do the lame answers from Telerik that just send us to some article that never addresses the immediate question.  Whoever is responsible for the API docs should be fired.
  7. Yavor
    Yavor avatar
    11 posts

    Posted 20 Oct 2009 Link to this post

    Hello Mark,

    The present thread contains no official response from Telerik. Basically, forum posts are meant as a place for the community to exchange ideas/solutions, rather than a guaranteed way to get support, although we always review all forum threads. Additionally, I will ask you to refrain from using such strong language, as it really does not help neither you, nor the community, and is rather detrimental to resolving the issue.
    To address any problem that you are having, you can consider opening a formal support ticket, and providing the relevant details, or doing so in this forum thread. Based on this information, we will provide more information on how to work around/resolve the problem. Additionally, we will be happy to receive any constructive feedback on the API/documentation, as this is constantly being updated and enhanced.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft R3 2016 release webinar banner