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

[Solved] RadEditor custom dialog missing Close X

2 Answers 122 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Patrick Haggerty
Top achievements
Rank 1
Patrick Haggerty asked on 12 Feb 2010, 03:16 AM
Hello,

I've created a custom dialog for a RadEditor window running on a Moss Server. The dialog works as it should, but it seems to be missing the close button (see attached image). The code that launches the dialog is:
editor.showExternalDialog("NewFileDialog.html", null, 300, 175, 
                            newButtonPressCallbackFunction, null, "New File", true, 
                            Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 
                            false, false); 



I have two other dialogs and they all seem to suffer the same issue. If you need the entire page source, please let me know.

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 12 Feb 2010, 05:30 PM
Hi Patrick,

Here are the arguments of the showExternalDialog method:

showExternalDialog(url (aspx/html file), argument, width, height, callbackFunction, callbackArgs, title, modal, behaviors, showStatusbar, showTitlebar);

You should set the last one "showTitlebar" to be true,e.g.


                            editor.showExternalDialog("NewFileDialog.html", null, 300, 175,         
                                                newButtonPressCallbackFunction, null, "New File", true,        
                                                Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move,        
                                                false, true);        


Regards,
Rumen
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
Patrick Haggerty
Top achievements
Rank 1
answered on 12 Feb 2010, 06:53 PM
Ah....Thanks so much! I was sure it was something basic that I was missing.

Take care.
Tags
Editor
Asked by
Patrick Haggerty
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Patrick Haggerty
Top achievements
Rank 1
Share this question
or