RadTreeView and RDP (Terminal Services)

14 posts, 0 answers
  1. Kevin
    Kevin avatar
    10 posts
    Member since:
    Oct 2008

    Posted 11 Jun 2009 Link to this post

    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.
  2. James Wofford
    James Wofford avatar
    20 posts
    Member since:
    Aug 2012

    Posted 30 Jul 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kevin
    Kevin avatar
    10 posts
    Member since:
    Oct 2008

    Posted 30 Jul 2009 Link to this post

    We ended up rebooting the server that was hosting the VM, and that did help.  Otherwise, did not find a good resolution.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 31 Jul 2009 Link to this post

    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.
  6. James Wofford
    James Wofford avatar
    20 posts
    Member since:
    Aug 2012

    Posted 31 Jul 2009 Link to this post

    We wound up rebooting the server which seemed to help...  Very strange.

    thanks for the replies folks.

    ~james
  7. MikeB
    MikeB avatar
    42 posts
    Member since:
    May 2008

    Posted 04 Sep 2009 Link to this post

    We are having the same issue.  So, how often do you end up rebooting the TS?
  8. James Wofford
    James Wofford avatar
    20 posts
    Member since:
    Aug 2012

    Posted 08 Sep 2009 Link to this post

    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
  9. michael mccurrey
    michael mccurrey avatar
    6 posts
    Member since:
    May 2008

    Posted 08 Sep 2009 Link to this post

    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.

  10. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 08 Sep 2009 Link to this post

    Also suffering from this issue

    regards
    erwin

  11. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 11 Sep 2009 Link to this post

    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.
  12. Imran Khalid
    Imran Khalid avatar
    8 posts
    Member since:
    Jan 2009

    Posted 22 Mar 2010 Link to this post

    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
  13. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 24 Mar 2010 Link to this post

    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.
  14. Imran Khalid
    Imran Khalid avatar
    8 posts
    Member since:
    Jan 2009

    Posted 24 Mar 2010 Link to this post

    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
  15. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 12 May 2010 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready