thanks for the help. i tried the example you sent and it worked fine. what i did find out is that if you have a radMenu on a radPanel, it will not maximize the child. if there is not a radMenu directly on the form, it does not play nice. i have the radMenu on a radPanel to add logo and other info on the top of the form. i faked it out by placing a radmenu on the bottom of the page which is not used and built my radMenu in a radPanel as my main menu. that acts just as it should loading children. not pretty but it works.
answered on 10 Feb 2011, 10:51 AM
Thank you for your posts.
I was able to reproduce this behavior on my end. However the reason seems to be the gsResize() function that you are using. I am not sure what is the point of relocating the maximized window but you can try not moving the child window but only the panel:
thank you for following up on this. i've come up with a workable solution for me.
not sure if this is a bug or what but if the radmenu is not directly on the form, it does not maximze the child even if set to do so, nor does it set the sizes correctly. i cannot always set this to maximize as the user may want it to be minimized.
my solution - basically I:
have one radmenu docked to the bottom with no items in it - directly on the form. this makes it behave correctly - without it, the 2nd menu/children do not do what they should
have a radPanel - put my graphics, etc...items i wanted in the panel -
have a radMenu on the radPanel docked to the bottom with my items
children set to maximize.
just show it - the only thing i needed in the Resize event was to set the top when NOT maximized.
so there's no need to set any sizes
thanks for your help on this.
answered on 15 Feb 2011, 09:45 AM
I am glad you have sorted this out. If you have any other questions, do not hesitate to ask.
@Richard: Thank you for your assistance.
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
In order for the ThemeName property to work correctly, you should first load the theme that you want to use. This can be achieved by dropping the desired theme component from the toolbox to the form in Visual Studio's designer. If the theme you are using using is not in the toolbox, then you should it load it as it is described in this help article.
If this doesn't help, please provide more details about your scenario and requirements and I will do my best to assist you.