I have a modal window that I am firing on an icon click. When the window loads, it's low and right of where it should be. If you close the window and select the icon again, the window appears in the correct position. Any clue what is going on?
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 04 May 2012, 03:34 PM
Hi Michael,
How exactly are you showing this window? Are you using its OnCilentShow event to change its size (via the setSize() method)? If so you would need to re-center it again after modifying its size because the top left corner stays in place when such resizing takes place. Currently I am only guessing, but if you provide the opening function and RadWindow markup that are causing this behavior I will, in turn, be able to provide a more accurate answer.
Kind regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.