This is a migrated thread and some comments may be shown as answers.
resize radwindow from web explorer for previewing
2 Answers 65 Views
This is a migrated thread and some comments may be shown as answers.
Hamdy
Top achievements
Rank 1
Hamdy asked on 10 Apr 2010, 09:54 AM
I have a web explorer
when i click on an image file it is opening a pop up (radwindow) to preview this image

the popup is not re sizable
how can I set it

2 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 12 Apr 2010, 04:37 PM
Hi Hamdy,

RadFileExplorer does not offer the required functionality out-of-the-box. However, you can achieve it, by attaching a handler method to the window show event of the RadFileExplorer's windowManager, e.g.:
function OnClientLoad(oExplorer, args)
{
    //get reference to the windowManager
    var windowManager = oExplorer.get_windowManager();
    //attach handler to show event
    windowManager.add_show(addShowHandler);
}
 
function addShowHandler(oWnd, args)
{
    oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Resize + Telerik.Web.UI.WindowBehaviors.Close);
}


All the best,
Dobromir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Hamdy
Top achievements
Rank 1
answered on 13 Apr 2010, 07:46 AM
it works ,thanks
Asked by
Hamdy
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Hamdy
Top achievements
Rank 1
Share this question
or