Modal Dialog

2 posts, 0 answers
  1. Dev Team
    Dev Team avatar
    69 posts
    Member since:
    Oct 2006

    Posted 27 Apr 2009 Link to this post

    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
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 29 Apr 2009 Link to this post

    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.

Back to Top