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

[Solved] RadEditor Toolbar Close(X) button doesn't work sometimes.

10 Answers 157 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 16 Dec 2009, 09:53 AM
Attempt to click on Close(X) icon of editor toolbar. Nothing happens. Sometimes it works sometimes it dosen't, unwanted behavior.
Please help me on this.
Also Toggle Full-screen takes much longer times. Is there any way to implement a processing message or reduce the time.
 
Thanks
Praveen

10 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Dec 2009, 03:15 PM
Hi Praveen,

Unfortunately, I am not aware of these problems. Are you able to reproduce them in the Default Example of RadEditor?

Is it possible to open a support ticket and to send a sample working project that demonstrates the issues? We will examine it and try to provide a solution.

Best 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.
0
Praveen
Top achievements
Rank 1
answered on 17 Dec 2009, 10:36 AM
Hi Rumen,

My colleague has created a support ticket from his account - Support ID:263147. Please go through this.

Also response my another query that is related to Toggle Full-screen.
  •   Toggle Full-screen takes much longer times. Is there any way to implement a processing message (processing bar like loading etc while Toggle to Full screen and vice versa) or reduce the time.

Thanks
Praveen Tomar

0
Rumen
Telerik team
answered on 18 Dec 2009, 11:12 AM
Hi Praveen,

You can display an image until the ToggleScreenMode command is executed in the OnClientCommandExecuting event and after that hide it when the command is executed in the OnClientCommandExecuted event, e.g.

<telerik:RadEditor ID="RadEditor1" OnClientCommandExecuting="OnClientCommandExecuting" OnClientCommandExecuted="OnClientCommandExecuted" runat="server" ToolbarMode="Floating">
    </telerik:RadEditor>   
<script type="text/javascript">
    var image = $get("ajaxImg");
 
    function OnClientCommandExecuting(editor, args) {
        //The command name
        var commandName = args.get_commandName();
        if (commandName == "ToggleScreenMode") {
            image.style.display = "";
        }
    }
 
    function OnClientCommandExecuted(editor, args) {
        //The command name
        var commandName = args.get_commandName();
        if (commandName == "ToggleScreenMode") {
            setTimeout(function() {
                image.style.display = "none";
            }, 1000);
        }
    }
    </script>


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.
0
Praveen
Top achievements
Rank 1
answered on 21 Dec 2009, 10:06 AM

Thanks Rumen but Loading image is displayed after ToggleScreenMode command executed. If I put alert then alert is working fine but no image is displayed at that time.

 function OnClientCommandExecuting(editor, args) {

        //The command name
        var commandName = args.get_commandName();
        if (commandName == "ToggleScreenMode") {
                alert('loading..');
            image.style.display = "";
        }
    }

Please verify the same.

0
Praveen
Top achievements
Rank 1
answered on 21 Dec 2009, 10:50 AM
Hi Rumen,

Is there any way to improve the performance of ToggleFullScreen mode. I have a very huge page (more than 50 controls ) and it will take around 5 to 8 second to switch into Full Screen Mode.

Thanks
Praveen Tomar
0
Rumen
Telerik team
answered on 21 Dec 2009, 01:21 PM
Hi Praveen,

When you toggle RadEditor in FullScreen mode then it sets style="overflow:visible;" to all its parent elements. If the editor is nested inside multiple controls it is an expected behavior to take more time to switch to this mode. If you would like you can open another editor in FullScreen mode as it is shown in this KB article: Different Set Of Tools When Switching To Full Screen Mode.

Sincerely,
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.
0
Rumen
Telerik team
answered on 21 Dec 2009, 01:37 PM
Hi Praveen,

As to the loading image: This solution works without problems on my side even without the alert function. For your convenience I have attached my test project and video demonstrating my test.

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.
0
Praveen
Top achievements
Rank 1
answered on 21 Dec 2009, 03:24 PM
Hi Rumen,

The video and project that you sent does meet my requirement, actually there is problem in the events occurrence, the processing screen comes after the full screen mode, but ideally it should be immediately when i click on the toggle full screen button. In my case when i click the toggle fullscreen button then it usually takes more than 5 seconds and no processing image appears at that time, but appear after full screen mode just like your video.

I have also recorded the video, please let me know where to upload.

Thanks
Praveen
0
Rumen
Telerik team
answered on 21 Dec 2009, 03:27 PM
Hello Praveen,

You should open a support ticket to upload a zipped video. In order to open a support ticket you should download a trial license or be a customer.

Please, attach also a sample working project so that I can examine it and see whether it is possible to provide a solution for your specific scenario.


Best 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.
0
manoj sharma
Top achievements
Rank 1
answered on 22 Dec 2009, 11:48 AM
opened a support ticket with sample project - ticket ID is : 268724.
Tags
Editor
Asked by
Praveen
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Praveen
Top achievements
Rank 1
manoj sharma
Top achievements
Rank 1
Share this question
or