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
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.
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.
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.
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
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