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

How to use RadGridView-GridViewDataColumn.BindingGroup

1 Answer 193 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aihua
Top achievements
Rank 1
Aihua asked on 25 Jan 2013, 09:03 AM
hi:
 I have a question when use GridViewDataColumn.BindingGroup,my core code as follow:

<telerik:GridViewDataColumn Header="Time" IsReadOnly="True" SortMemberPath="ScheduledProcedureStepStartDateTime">                        
                        <telerik:GridViewDataColumn.BindingGroup>
                            <MultiBinding Converter="{StaticResource timeRangeConverter}" ConverterParameter="HH:mm">
                                <Binding Path="StartDateTime"></Binding>
                                <Binding Path="EndDateTime"></Binding>
                            </MultiBinding>
                      </telerik:GridViewDataColumn.BindingGroup>
</telerik:GridViewDataColumn>

Please confirm syntax of binding is right?

When execute 
 public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture){} function,
I found values[0] and values[1] are DependencyProperty.UnsetValue. So can't convert successfully.

Please provide the right telerik demo. Tahnks.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 25 Jan 2013, 09:24 AM
Hi,

In RadGridView columns do not participate in the visual tree as separate visuals  . They just define common properties for cells. Using the BindingGoup  property on a column would have no effect on the behavior of RadGridview.

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Aihua
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or