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

RadTreeView and RDP (Terminal Services)

13 Answers 173 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 11 Jun 2009, 07:27 PM
I am having trouble getting the RadTreeView to draw it's child nodes over an RDP session.  When a parent node is expanded, you can see the little arrows to the left but the node label is blank.  If you leave the form up for a long time, sometimes it will eventually draw teh children correctly.  I do not see this behavior when I run the application on my local box.  To test, I created a solution with one form, and put one RadTreeView on the form.  The tree gets loaded in the form Init.

13 Answers, 1 is accepted

Sort by
0
James Wofford
Top achievements
Rank 1
answered on 30 Jul 2009, 03:54 PM
I am having an identical issue, is there any resolve to this?  All the utilities we write are used on remote servers... So you are always windowing into the system and not being able to view the tree is... well, not usable at all.
0
Kevin
Top achievements
Rank 1
answered on 30 Jul 2009, 04:54 PM
We ended up rebooting the server that was hosting the VM, and that did help.  Otherwise, did not find a good resolution.
0
Victor
Telerik team
answered on 31 Jul 2009, 11:13 AM
Hello James,

There have been other users experiencing similar issues. These glitches are most likely related to the remote desktop connection but we are not sure exactly why this happens. I am afraid that we do not have a solution for this because we have not been able to reproduce such an issue so far.

For some users updating their video drivers resolved the issue but I can not guarantee that it will work as we do not know where the problem stems from. Anyway, I would suggest that you try with upgrading your video driver.

All the best,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
James Wofford
Top achievements
Rank 1
answered on 31 Jul 2009, 01:16 PM
We wound up rebooting the server which seemed to help...  Very strange.

thanks for the replies folks.

~james
0
MikeB
Top achievements
Rank 1
answered on 04 Sep 2009, 06:41 PM
We are having the same issue.  So, how often do you end up rebooting the TS?
0
James Wofford
Top achievements
Rank 1
answered on 08 Sep 2009, 01:15 PM
It has not been that long since I did this, maybe Kevin has had a different experience, but in so far as my experiences go, a single reboot has corrected the issue (per server of course...)  It might be worth noting that I am experiencing the issue on both virtualized and none virtualized environments.

~james
0
michael mccurrey
Top achievements
Rank 1
answered on 08 Sep 2009, 03:21 PM
We were experiencing this and solved it by using an old Win32 hack.

On the OnClick and OnEnter event, call a this.Invalidate(true) which will force a repaint.

0
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 08 Sep 2009, 07:32 PM
Also suffering from this issue

regards
erwin

0
Deyan
Telerik team
answered on 11 Sep 2009, 06:57 AM
Hi Erwin,

My advise it to try the approaches described by the other customers and let me know if they help. Thanks for your time.

Sincerely yours,
Deyan
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
Imran Khalid
Top achievements
Rank 1
answered on 23 Mar 2010, 03:26 AM
I am using Q1/2010 and radtreeview really sucks when running my application on termnial server (Remote desktop).
The same code works fine on local machine running XP.
On TS most of the time the child nodes just dont' show up or  with just empty spaces and nothing happens when you try to expand/collapse the nodes having children.  Telerik really needs to fix these issues rather than simply saying that they can not reproduce it.  Do they want us to ship them my machine so that they see with their own eyes.
Performance is alse very horrible on TS machine. We have  a very high speed machine and good enough RAM etc.
We are thinking about abandoning Telerik as our development/deployment is based on remote desktop.

Imran
0
Deyan
Telerik team
answered on 24 Mar 2010, 03:02 PM
Hello Imran,

Thank you for your honest feedback.

Yes, this behavior is undesired, and we apologize for it. We have been trying to locate the problem for these repainting issues for nearly two years now, with little success. In some cases a simple restart of the machine fixed the issue (as described below). In others, the problem turned out to be in old video drivers, and yet in others, the issues were in the Citrix terminal server system. These resolutions suggest that this issue might not be directly related with RadControls for WinForms but with the specific GDI/RDP context.

We are determined to understand why it is happening and what we can do to overcome it. We will very much appreciate it if you would answer the following questions for us in order to help us pinpoint the problem:

  1. Are the described glitches present on all the machines that remotely connect to the application or on some of them? If some, what are the specifics/differences between them?
  2. What are the hardware specifications?
  3. What is the OS installed on these machines?
  4. Are you running Citrix? If yes, what version?
  5. Are the machines up to date in terms of drivers? We have had a couple of customers solve similar issues with simple video driver update from the original manufacturer (rather than using the Microsoft driver).
  6. Are the machines up to date in terms of software updates?
  7. Are the machines running DirectX 10? 
  8. It is possible that this issue is somehow related to the fact that we use GDI-based animations. We  believe that this might be a problem related to GDI and RDP, and the way the RDP transfers painting information - in other words, the only way you can prevent this from happening is to turn off the animations in our controls (which is pretty simple). We have prepared a few scenarios you could perform and help us narrow down the issues that might lead to this.

    I would like to ask you to try turning off the Bitmap Cache we use when painting gradients and see whether the issue persists (very important case):

    Me.RadGridView1.Behavior.BitmapRepository.DisableBitmapCache = True

    After doing this, if the issue persists, you will be able to overcome it by turning off the animations for all controls:

    ThemeResolutionService.AllowAnimations = False

    or the animations for a separate control:

    Me.RadGridView1.ElementTree.SuspendAnimations()

    Please write back when you have experimented with the scenarios described above letting us know which of them is helpful.

Thanks for you time. We look forward to receiving further details on that case.
 

Kind regards,
Deyan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Imran Khalid
Top achievements
Rank 1
answered on 24 Mar 2010, 05:07 PM
I have used

Me.RadGridView1.Behavior.BitmapRepository.DisableBitmapCache = True


and this appears to have solved the problem of radtreeview hangup and missing tree nodes etc.

thanks
.Imran
0
Vassil Petev
Telerik team
answered on 12 May 2010, 01:59 PM
Hello guys,

This is to let you know that we think we found the problem for the animations to stop working. In short, this would happen after the machine which hosts the application runs for more than 25 days. At that point the System.Environment.TickCount property would return negative values which in turn put our animations in an invalid state.

The issue has been addressed in Q1 2010 SP1 and the fix is also available in Q1 2010 SP2. Feel free to download either version and give it a spin.


Kind regards,
Vassil
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Treeview
Asked by
Kevin
Top achievements
Rank 1
Answers by
James Wofford
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Victor
Telerik team
MikeB
Top achievements
Rank 1
michael mccurrey
Top achievements
Rank 1
erwin
Top achievements
Rank 1
Veteran
Iron
Deyan
Telerik team
Imran Khalid
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or