How to use RadGridView-GridViewDataColumn.BindingGroup

2 posts, 0 answers
  1. Aihua
    Aihua avatar
    2 posts
    Member since:
    Jan 2013

    Posted 25 Jan 2013 Link to this post

    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.
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 25 Jan 2013 Link to this post

    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.

Back to Top