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

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

3 Answers 115 Views
ListView
This is a migrated thread and some comments may be shown as answers.
David Castro
Top achievements
Rank 1
David Castro asked on 19 Mar 2010, 09:55 PM
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

3 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 22 Mar 2010, 03:23 PM
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.
0
David Castro
Top achievements
Rank 1
answered on 23 Mar 2010, 02:50 PM
Hi Rosen,

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


thank you.
0
Rosen
Telerik team
answered on 23 Mar 2010, 03:47 PM
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.
Tags
ListView
Asked by
David Castro
Top achievements
Rank 1
Answers by
Rosen
Telerik team
David Castro
Top achievements
Rank 1
Share this question
or