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

Set height does not work

3 Answers 67 Views
Window
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 08 Aug 2012, 06:58 PM
I need do the radwindows that i attach in the second file
I set height = 150px but does not work.

How I can do this??

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Aug 2012, 04:14 AM
Hi July,

This behavior is observed because there is a limitation to the height of an iframe in all browsers. I suppose you are using a external page inside the RadWindow. According to this forum thread if you want to have a smaller RadWindow you could use its ContentTemplate and add the controls directly there, instead of using an external page, if this is possible in your scenario.

Hope this helps.

Regards,
Princy.
0
July
Top achievements
Rank 2
answered on 09 Aug 2012, 04:17 PM
Thanks Princy!

But now I have other problem in  GetWindow() function:
 GetRadWindow().BrowserWindow.refreshgrid(args)... -->

where
function GetRadWindow() {
    var oWindow = null;
    if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
    else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)


    return oWindow;
}

window,Radwindow IS NULL.

I need put the radwindow inside usercontrol , because i use in all screens.
How I can close the radwindow and refreshgrid?

0
rdmptn
Top achievements
Rank 1
answered on 10 Aug 2012, 11:19 AM
take a look at this demo: http://demos.telerik.com/aspnet-ajax/window/examples/contenttemplatevsnavigateurl/defaultcs.aspx. You'll see how to get a reference to the radwindow in its different modes.
Tags
Window
Asked by
July
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
July
Top achievements
Rank 2
rdmptn
Top achievements
Rank 1
Share this question
or