ObjectDataSource 'ods' has no values to insert. Check that the 'values' Check that the 'values' dictionary contains values. RadListView InsertTemplate

4 posts, 0 answers
  1. David Castro
    David  Castro avatar
    2 posts
    Member since:
    Mar 2010

    Posted 19 Mar 2010 Link to this post

    Hi Telerik team.

    I am using a RadListView with as ObjectDataSource and n-tier architecture
    but I have a problem in the InsertTemplate.

    The problem is that is not recovering data form
    defined in InsertTemplate and therefore gives me this error:

    ObjectDataSource 'ods' has no values to insert. Check that the 'values' Check that
    the 'values' dictionary contains values.

    It seems that not recover data of controls in the
    InsertTemplate.

    This occurs if I'm using 2010.1.309.35 version

    On 2009.3.1208.35 version  works perfectly.

    Previously I was working 2009.3.1208.35 version but upgraded to use RadFilter control.

    Please could help me with this problem.

    Thank you
  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 22 Mar 2010 Link to this post

    Hi David,

    I'm afraid that I'm unable to recreate the behavior you are described. I have attached a small test application. Please take a look, maybe I'm missing something obvious.

    Sincerely yours,
    Rosen
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David Castro
    David  Castro avatar
    2 posts
    Member since:
    Mar 2010

    Posted 23 Mar 2010 Link to this post

    Hi Rosen,

    you could see the problem at your demos when you try to insert item.


    thank you.
  5. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 23 Mar 2010 Link to this post

    Hi David,

    Indeed I was able to observe the error in the demo you have refer to. However it is caused by incorrect implementation in the demo itself and it is not related to the RadListView control. It seems that the binding expression from the InsertItemTemplate are omitted, which causes the error you have described. Therefore you should add the appropriate binding expressions to the control, as shown in the example I have attached in my previous message.
    I have updated your telerik point as a token of gratitude for pointing us to the failing online demo.

    Regards,
    Rosen
    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.
Back to Top