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


    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(  
                                        , 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
    Stanimir avatar
    1654 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/ folder.

    I hope this helps.

    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