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

Rad Window Unable to set height greater than

5 Answers 80 Views
Window
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 03 Jun 2009, 08:59 PM
Hello,

I am using RadControls for ASPNET AJAX Q1 2009 and I am unable to set the height of a rad window above about 200. I tried setting it in the properties window and through JavaScript without success. Setting the width to a large amount(ie. 500) works fine. The rad window displays a dynamically created tree.

Thanks,

John

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 04 Jun 2009, 07:56 AM
Hi John,

Are we talking about Firefox ? If this is so, this behavior is due to a bug in Firefox that occurs when you have an IFRAME in a table - which is basically RadWindow's structure. If you set a very small height (about 150px), the table shrinks as expected, however the IFRAME element doesn't.
So far we were not able to find an appropriate cross-browser workaround for this problem but if we manage to fix it, we will implement the fix right away. For the time being, when you want to display something in a very small container, I would suggest to use RadDock or RadToolTip.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
John
Top achievements
Rank 1
answered on 04 Jun 2009, 03:37 PM
Georgi,

Thanks for your response.

No its IE where it isn't working, but it isn't an IE problem. I created another project and was able to set the height to 500 without a problem so going back to the original solution there must be a conflict somewhere. On the main page that has the radwindowmanager also has iframes on the page. Could this be the source of the problem? The tree on treepop.aspx is created dynamically so the size isn't set until run time. The radwindow that is causing us problems along with the radwindowmanager are below do you see anything that would prevent the radwindow from getting a height of 500?

 <telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleTitlebar="False" EnableEmbeddedSkins="False" >

 <Windows> 

<telerik:RadWindow ID="CamTreePopup" runat="server" Modal="true" NavigateUrl="treepop.aspx?size=1" Height="500" Width="250"  Top="" VisibleStatusbar="false" OnClientClose="CloseTreeWin" ReloadOnShow="True"  Title="Select Camera" VisibleTitlebar="False” OpenerElementId="imgCamSelector" BorderStyle="None" Overlay="False" ShowContentDuringLoad="False"  BorderWidth="0px"  Visible="True" VisibleOnPageLoad="False" Behaviors="None" Behavior="None" /> 

</Windows>

</telerik:RadWindowManager>

Thanks.


0
Georgi Tunev
Telerik team
answered on 05 Jun 2009, 09:11 AM
Hello John,

The code that you posted seems OK. Please open a support ticket and send me a small sample project where this issue could be reproduced so I could check it.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Paul Mc
Top achievements
Rank 1
answered on 16 Jun 2009, 12:45 PM

John

I don't know if this will be of any help, but we had a similar problem with widths this morning. 

The problem occurred when the width being applied was greater than the space available between the left position of the window and the width of the page.  By setting the window position to 0,0 it seemed to fix our problem.

We do have a restriction zone implemented, which it doesn't look as though you have, but it might help narrow down your problem.

Paul

0
John
Top achievements
Rank 1
answered on 16 Jun 2009, 12:52 PM
Paul,

Thanks for your help.

A decision was made to move away from the rad window for the page in question so I guess my problem was solved.

Regards,

John

Tags
Window
Asked by
John
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
John
Top achievements
Rank 1
Paul Mc
Top achievements
Rank 1
Share this question
or