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

window.radopen ignoring attributes

1 Answer 80 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Kim asked on 09 Nov 2013, 08:10 PM
I have the following code in a aspx page. Thew window opens but it ignores the size settings. Even if i delete the RadWindowManager from the page it still opens. It seems as if it ignores the RadWindowManager on the page and just does what it wants. what am i doing wrong?

                function EditClick(sender, args) {
                    window.radopen("campEdit.aspx?campID=" + sender,"CampEdit");

 <telerik:RadWindowManager ID="RadWindowManager1" runat="server" onclientclose="RadWindowManager1_Close" CssClass="TelerikModalOverlay">
            <telerik:RadWindow ID="CampEdit" runat="server" Title="Editing record" Height="675px"
            Width="635px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false"
            Modal="true" VisibleStatusbar="false"  AutoSize="false" Behaviors="Close" />



It seems as if it is functioning off the RadWindowManager  on the master page. How do i get it to use the RadWindowManager on the child page? 

1 Answer, 1 is accepted

Sort by
Marin Bratanov
Telerik team
answered on 11 Nov 2013, 02:59 PM
Hi Kim,

Your problem and its solutions are described here:
Also, you can use the client-side API of the control to modify it after showing it:, e.g.:
var wnd =  window.radopen("campEdit.aspx?campID=" + sender,"CampEdit");;
wnd.setSize(800, 600);

Or even set the desired dimensions in the radopen method:
window.radopen("campEdit.aspx?campID=" + sender,"CampEdit", width, height);

Marin Bratanov
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 the blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question