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

[Solved] Dialog Opener behavior issues

1 Answer 121 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vaughan Reed
Top achievements
Rank 1
Vaughan Reed asked on 26 Aug 2009, 07:38 PM
Based on an example from another thread I am using the following command to open a dialog window from the link manager:
 Type.registerNamespace("Telerik.Web.UI.WindowBehaviors");

function ShowCustomDialog(popupUrl, width, height)

...
    var dialogOpener = Telerik.Web.UI.Dialogs.CommonDialogScript.get_windowReference().get_dialogOpener();

    dialogOpener.openUrl( 
        popupUrl, argument, width, height, callbackFunction, null,  
        "Menu Selector"true,  
        Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 
        falsetrue); 
}
The problem is that the window behaviors are being ignored and all the controls - refresh, pin, minimize, maximize - are showing.

How do I open the dialog withput the extra controls.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Aug 2009, 12:59 PM
Hello Vaughan,

Could you please open a support ticket and send a sample working example which demonstrates the observed behavior? Please, also specify the exact version of the Telerik.Web.UI.dll.

After receiving the project, we will examine it and provide a solution after reproducing the problem.


Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Vaughan Reed
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or