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

Modal Dialog

1 Answer 55 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Dev Team
Top achievements
Rank 2
Dev Team asked on 27 Apr 2009, 08:30 AM
Hello,

I am using the SharePoint editor Lite version, In our project we are using a custom button in the tool bar when the user clicks on it we will be showing the a dialog box

RadEditorCommandList["Report"] =function CustomDialogCommand(commandName, editor, oTool)  
                            {  
                                var args = editor.GetDialogParameters(commandName);                       
                                RadEditor1ClientObject = editor;  
                                var vindo =editor.ShowDialog(  
                                    'Reports/ListReportStore.aspx' 
                                    , args  
                                    , 500  
                                    , 320  
                                    , CustomDialogCallback  
                                , null 
                                    , "Report");                                                            }; 
But the window that is shown when the user click on the button is not modal. Please let me know how do I make the window modal.

Thanks & Regards

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 29 Apr 2009, 12:15 PM
Hello Dev Team,

Please try if setting the UseClassicDialogs property to true will solve your problem. In order to do so you need to modify the respective ConfigFile.xml or ListConfigFile.xml (for forms such as wiki, list, blog ...), which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.5.6.0__1f131a624888eeed/RadControls/Editor/CssEditor.css folder.

I hope this helps.

Regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
Dev Team
Top achievements
Rank 2
Answers by
Stanimir
Telerik team
Share this question
or