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

Expand Mode not working when I Double Click on an RadTreeViewItem

3 Answers 102 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Suzi
Top achievements
Rank 1
Suzi asked on 24 Nov 2009, 03:09 PM

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.

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 25 Nov 2009, 04:41 PM
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.
0
Suzi
Top achievements
Rank 1
answered on 27 Nov 2009, 09:00 AM
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.
0
Krati Chauhan
Top achievements
Rank 1
answered on 09 Apr 2010, 12:22 PM
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
Tags
TreeView
Asked by
Suzi
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Suzi
Top achievements
Rank 1
Krati Chauhan
Top achievements
Rank 1
Share this question
or