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

DataMemberBinding does not support MultiBinding

2 Answers 247 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kristoffer
Top achievements
Rank 1
Kristoffer asked on 14 Mar 2013, 03:14 PM
Additional information: A 'MultiBinding' cannot be set on the 'DataMemberBinding' property of type 'GridViewHyperlinkColumn'. A 'MultiBinding' can only be set on a DependencyProperty of a DependencyObject.

I run into this pretty much everywhere in Telerik components. MultiBinding is never supported :(

<telerik:GridViewHyperlinkColumn.DataMemberBinding>
<MultiBinding StringFormat="{}{0}x{1}">
    <Binding Path="X" />
    <Binding Path="Y" />
</MultiBinding>
</telerik:GridViewHyperlinkColumn.DataMemberBinding>

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Mar 2013, 06:53 AM
Hi,

Since you cannot sort, filter, group, aggregate, etc. with such binding maybe the best way to achieve your goal will be to declare CellTemplate for desired column and use a simple TextBlock with such binding for the Text property. 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kristoffer
Top achievements
Rank 1
answered on 18 Mar 2013, 08:05 AM
Thanks. Will try that!
Tags
GridView
Asked by
Kristoffer
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Kristoffer
Top achievements
Rank 1
Share this question
or