Expand Mode not working when I Double Click on an RadTreeViewItem

4 posts, 0 answers
  1. Suzi
    Suzi avatar
    85 posts
    Member since:
    Mar 2008

    Posted 24 Nov 2009 Link to this post

    Hi,

    I am using the radTreeView of Silverlight 2009.3. I set the property IsExpandOnDbClickenabled to true. I am using LoadOnDemand
    and the event Selected. Whan I double click on an item of the treeview, the first time, the item doesn't expand. The next time,
    I double click on this same item it works. It is really strange. Coul you help me please ? How may I resolve my problem ?

    Thank you in advance,

    <telerikNavigation:RadTreeView

    Name="treeView"

    Margin="2,10,2,10"

    IsExpandOnDblClickEnabled="True"

    IsExpandOnSingleClickEnabled="False"

    ItemContainerStyle = "{StaticResource MyRadTreeViewItemStyle}"

    Foreground="{StaticResource RadTreeViewForegroundBrush}"

    ExpanderStyle="{StaticResource ExpanderStyle1}"

    IsLoadOnDemandEnabled="True"

    LoadOnDemand="RadTreeView_LoadOnDemand"

    MouseLeftButtonUp="RadTreeView_MouseLeftButtonUp"

    Selected="RadTreeView_Selected">

    </telerikNavigation:RadTreeView>

    Suzi.

  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 25 Nov 2009 Link to this post

    Hi Rouquier,

    I was not able to reproduce the issue you are describing. However, I noticed that you are using some resources(styles, colors etc.) which I did not find pasted. There is a chance they are causing the problem.
    I am attaching a sample project that demonstrates that the treeview behaves as expected. Have a look at it and let me know how it works for you. If you continue to experience the same issue, could you please open a support ticket and attach a project reproducing the problem.

    All the best,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Suzi
    Suzi avatar
    85 posts
    Member since:
    Mar 2008

    Posted 27 Nov 2009 Link to this post

    Thank you to try to help, in fact, it'is working into the project you sent me thank you.
    To resolve temporarily my strange problem, I handled treeview node property reading this article :
    http://www.telerik.com/community/forums/silverlight/treeview/how-to-handle-treeviewnode-double-click.aspx

    Thank you in advance,

    Suzi.
  4. Krati Chauhan
    Krati Chauhan avatar
    1 posts
    Member since:
    Apr 2010

    Posted 09 Apr 2010 Link to this post

    Hello Suzi ,

    I am also facing the same issue. It will be very helpful if you can share the piece of code that helped you solve the problem.

    Thanks in advance
Back to Top