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

Problem with GridViewBoundColumnBase.GetValueForItem()

1 Answer 125 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Matthias
Top achievements
Rank 1
Matthias asked on 12 May 2011, 11:09 AM
Hi,

I am using GridViewBoundColumnBase.GetValueForItem() to get the content of the cell in my RadGridView.
When I create the columns like the following:
new GridViewDataColumn()
{
        DataMemberBinding = new Binding("xy")
        {
                Converter = new XYConverter()
        }
}

everything works fine.

When I omit  the "xy" in new Binding("xy") to bind to the DataItem itself, GetValueForItem(..) returns the bound dataitem instead of the result of the used converter.

This behavior is quite unexpected. When I don't omit the "xy" I get the result of the converter as expected.

Is this a bug or am I doing something wrong?

Best Regards,
 Matthias

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 May 2011, 01:53 PM
Hello Matthias,

The issue confirmed and fixed immediately! I've added 2000 Telerik points to your account. 
The fix will be part of our next internal build - Monday. 

Best wishes,
Vlad
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
GridView
Asked by
Matthias
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or