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

     I have a question when use GridViewDataColumn.BindingGroup,my core code as follow:

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

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

    Posted 25 Jan 2013 Link to this post


    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.

    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top