Control sizes and location change when deployed on VM Server

4 posts, 0 answers
  1. BEAST Man
    BEAST Man avatar
    5 posts
    Member since:
    Jan 2007

    Posted 12 Jul 2007 Link to this post

    I have noticed that with win apps that I develop that use Telerik controls as containers (specifically the Tabstrip and Tabpanelbar) that the controls placed within these containers both move and resize when the application is deployed and run on a Server 2003 VM using MS Virtual Server.

    I have just tried installing and running a simple test app on another Win XP Pro machine, and I get the same problem - it is not a VM machine. It seems the only machine it works on is mine.

    When the same apps are run on my machine (XP Pro) either in or out of Visual Studio 2005 IDE they appear as designed.

    The resolution of the screen does not affect this problem.

    I have successfully replicated this problem with apps as simple as a win form, a rad tab strip, and a couple of windows buttons. The same problem occurs if I use Rad buttons.

    On the server I have tried with and without the Themes service enabled and running, and with different themes (classic vs XP).

    I have tried using different forms of remote desktop connection on to the Vm -which is on the local LAN - and when I connect I enable all forms of UI.

    This problem has exhibited itself with both Q12007 SP2 and the non-servicepacked version of the same.

    Some advise/support on this would be very appreciated. If further details are required then please ask.
  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 13 Jul 2007 Link to this post

    Hello Dan,

    This is the first report of that kind. RadTabStrip control actually uses an inherited toolbox Panel control to host the corresponding controls in each TabItems (refers to TabItem.ContentPanel property), and neither Panel nor RadTabStrip have any strange logic for layouts. There is a possibility though, that controls' layout change if you have different DPI setting on the development and the other machines. In this case please let us know. In either case you should better open a support ticket and send us any code that might help. Also screenshots of both correct and incorrect controls' layout could be useful.

    All the best,
    Mike
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. BEAST Man
    BEAST Man avatar
    5 posts
    Member since:
    Jan 2007

    Posted 13 Jul 2007 Link to this post

    Thanks for your response Mike.

    After further investigation and trials, I found this pm that altering the AutoSizeMode of the forms and usercontrols that I have created to None seems to do the trick. Previously it was set to the default of Font.

    I still don't really understand why this should have only affected those controls placed within Telerik container objects, and I remain interested to learn the whys and wherefores of this seemingly errant behaviour.
  5. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 17 Jul 2007 Link to this post

    Hello Dan Meineck,

    We are experiencing some issues with properly translating the scaling provided by MS Controls inside our framework and we do not implement scaling of child controls for the time being. We are investigating the causes and will enhance our framework scaling further. When everything works correctly we will introduce the change in one of our next releases.

    Sincerely yours,
    Dimitar Kapitanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top