Error when editing cell child

6 posts, 0 answers
  1. Reimund
    Reimund avatar
    9 posts
    Member since:
    Feb 2011

    Posted 04 Mar 2011 Link to this post

    Hi,
    I get an error 'Object does not match target type' when I want to edit a cell on  a child line. Editing the parent line works.  Same effect occors in the RadTreeListView demo after changing IsReadOnly to false.

    Call stack is:
       at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.SecurityUtils.MethodInfoInvoke(MethodInfo method, Object target, Object[] args)
       at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component)


    XAML:
    <telerik:RadTreeListView HorizontalAlignment="Left" Margin="12,12,0,0" Name="radTreeListView1" VerticalAlignment="Top" Height="209" Width="491" ItemsSource="{Binding Source={StaticResource Data}}" AutoGenerateColumns="False"  IsReadOnly="False">
                <telerik:RadTreeListView.Columns>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Text}" IsReadOnly="True"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Text2}" IsReadOnly="False">
                    </telerik:GridViewDataColumn>
                </telerik:RadTreeListView.Columns>
                <telerik:RadTreeListView.ChildTableDefinitions>
                    <telerik:TreeListViewTableDefinition ItemsSource="{Binding Path=Details}" />
                </telerik:RadTreeListView.ChildTableDefinitions>
            </telerik:RadTreeListView>


    Regards Reimund
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Mar 2011 Link to this post

    Hello Reimund,

     Can you post more info about the version?

    Regards,
    Vlad
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
  4. Reimund
    Reimund avatar
    9 posts
    Member since:
    Feb 2011

    Posted 04 Mar 2011 Link to this post

    Sorry,
    version is
    Telerik RadControls for WPF
    2010.03.1110.40

    Reimund
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Mar 2011 Link to this post

    Hi Reimund,

     Please try our latest service pack (or even latest internal build). We believe that this issue is already fixed. 

    Best wishes,
    Vlad
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Reimund
    Reimund avatar
    9 posts
    Member since:
    Feb 2011

    Posted 04 Mar 2011 Link to this post

    Now I'm using 2010.3.1314.40 (WPF Q3 2010 SP 1). No improvement, same behavior as before.

    Reimund

    PS: If there is  a better version, please send an appropriate link.

  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 07 Mar 2011 Link to this post

    Hello,

    Please open support ticket and send us an example where we can reproduce this exception. 

    Regards,
    Vlad
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
DevCraft banner