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

Control sizes and location change when deployed on VM Server

3 Answers 114 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
BEAST Man
Top achievements
Rank 2
BEAST Man asked on 12 Jul 2007, 03:59 PM
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.

3 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 13 Jul 2007, 11:05 AM
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
0
BEAST Man
Top achievements
Rank 2
answered on 13 Jul 2007, 02:26 PM
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.
0
Dimitar Kapitanov
Telerik team
answered on 17 Jul 2007, 01:22 PM
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
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
BEAST Man
Top achievements
Rank 2
Answers by
Mike
Telerik team
BEAST Man
Top achievements
Rank 2
Dimitar Kapitanov
Telerik team
Share this question
or