
Brendan Vogt
Top achievements
Rank 1
Brendan Vogt
asked on 07 Oct 2008, 11:54 AM
Hi,
I have a popup window. And on this popup window is a button. When I click the button a grid is made visible, and it has a couple of records, so obviously the windows get bigger. How do I adjust the size of the window when the content size gets bigger?
Thanks
Brendan
I have a popup window. And on this popup window is a button. When I click the button a grid is made visible, and it has a couple of records, so obviously the windows get bigger. How do I adjust the size of the window when the content size gets bigger?
Thanks
Brendan
5 Answers, 1 is accepted
0
Hello Brendan,
In order to achieve the desired behavior you should use the RadWindow's client-side API. For your convenience I attached a sample demo which shows one possible approach, feel free to extend it further in order to meet your requirements.
Best wishes,
Svetlina
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
In order to achieve the desired behavior you should use the RadWindow's client-side API. For your convenience I attached a sample demo which shows one possible approach, feel free to extend it further in order to meet your requirements.
Best wishes,
Svetlina
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Brendan Vogt
Top achievements
Rank 1
answered on 04 Nov 2008, 01:31 PM
Hi Svetlina,
Thanks for the sample.
My scenario is a little different. I have a popup with a grid in it. The grid can have anything from 0 to 15 records in it. So I need the popup window to be the size of the grid so that it fits in nicely. I can not do this manually because I do not always know how much rows there will be.
Please help urgently.
Thanks
Brendan
Thanks for the sample.
My scenario is a little different. I have a popup with a grid in it. The grid can have anything from 0 to 15 records in it. So I need the popup window to be the size of the grid so that it fits in nicely. I can not do this manually because I do not always know how much rows there will be.
Please help urgently.
Thanks
Brendan
0
Hi Brendan,
Thank you for providing these additional details about your scenario. You can find a working example which demonstrates how you can achieve the desired behavior in the following blog post's attached project:
http://blogs.telerik.com/TervelPeykov/Posts/08-06-10/Ever_needed_a_demo_using_RadControls_for_ASP_NET_AJAX_using_the_Q1_2008_RadControls_suite.aspx?ReturnURL=%2fTervelPeykov%2fPosts.aspx%3fPage%3d1
Please, download the project and try to implement the same logic.
Greetings,
Svetlina
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for providing these additional details about your scenario. You can find a working example which demonstrates how you can achieve the desired behavior in the following blog post's attached project:
http://blogs.telerik.com/TervelPeykov/Posts/08-06-10/Ever_needed_a_demo_using_RadControls_for_ASP_NET_AJAX_using_the_Q1_2008_RadControls_suite.aspx?ReturnURL=%2fTervelPeykov%2fPosts.aspx%3fPage%3d1
Please, download the project and try to implement the same logic.
Greetings,
Svetlina
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

OgOJack
Top achievements
Rank 1
answered on 06 Nov 2008, 05:38 PM
Thanks a lot for this sample, i was looking for it a long time. This
sample really explains how to resize RadWindow object of latest
version. But in Opera(9.5, 9.62) i have many problems with it:
Best wishes
Eugene
IDE Group Maxymiser
- After loading window jumps to the top of client area of the browser.
- Resizing doesn't work correctly.
Best wishes
Eugene
IDE Group Maxymiser
0
Hello,
Thank you for the feedback. We plan to introduce a built-in property in RadWindow named AutoSize or something to that tune, and when we do it we will make sure it works properly under Opera as well.
Best wishes,
Tervel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for the feedback. We plan to introduce a built-in property in RadWindow named AutoSize or something to that tune, and when we do it we will make sure it works properly under Opera as well.
Best wishes,
Tervel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.