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

[Solved] Set height and width client side

2 Answers 248 Views
Window
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 17 Apr 2008, 11:04 AM
I set width and Height of a radWindow in "OnClinetshow". The result is not the expected one. Width is working correctly and in the first Moment also the Height but a short time later the heigth increases. Isn't the "OnClientshow" the correct place to set those properties or what is wrong?

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 21 Apr 2008, 04:05 PM
Hi Markus,

The OnClientShow event is proper for setting RadWindow's size as you have tried. Since I have not tested your code I am not quite sure what exactly causes the problem but I suggest to set a little timeout when setting the sizes. Also, make sure that you are using the client-side API of RadWindow for ASP.NET AJAX and not the one of RadWindow for ASP.NET.

In case these suggestions do not help, please, open a new support ticket and send us a sample, reproduction project.

Best regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Markus
Top achievements
Rank 1
answered on 22 Apr 2008, 12:00 PM
I created a support ticket with a test project.
Tags
Window
Asked by
Markus
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Markus
Top achievements
Rank 1
Share this question
or