Declined
Last Updated: 16 Oct 2026 13:13 by ADMIN
ADMIN
Vessy
Created on: 09 Oct 2017 17:33
Category: Editor
Type: Bug Report
0
OnClientModeChange event is not fired in Mobile RenderMode
OnClientModeChange event is not fired in Mobile RenderMode.

Steps to reproduce:
Run the following code in a mobile Chrome (or mobile emulation) and click the edit Pencil button that switches the edit modes:

        <script type="text/javascript">
            function OnClientModeChange(editor, args) {
                var mode = editor.get_mode();
                switch (mode) {
                    case 1:
                        alert("We are in Design mode");
                        //do something
                        break;
                    case 2:
                        alert("We are in Html mode");
                        //do something
                        break;
                    case 4:
                        alert("We are in Preview mode");
                        //do something
                        break;
                }
            }
        </script>

        <telerik:RadEditor runat="server" OnClientModeChange="OnClientModeChange" ID="RadEditor1" RenderMode="Auto">
        </telerik:RadEditor>
2 comments
ADMIN
Rumen
Posted on: 16 Oct 2026 13:13

Hi again,

Thank you for your report, and sorry for the earlier response, which did not explain the actual reason. After re-evaluating this report, we found that this is the expected behavior. In Mobile RenderMode, the pencil button toggles the editing state of the mobile toolbar and does not change the editor's edit mode (Design, HTML or Preview), so OnClientModeChange is not raised when you click it. The event is raised when the mode is changed.

If you need to react to the pencil button, you can handle the OnClientCommandExecuted event and check for the MobileEdit command. If your scenario is not covered, please share more details and we will review it again.

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources! 
ADMIN
Rumen
Posted on: 31 Jul 2026 14:00

Hi,

This behavior was originally reported over 9 years ago and has not received significant demand or follow-up from the community since then. Considering this, we are unable to prioritize it over more impactful and widely requested improvements.

If this limitation is still affecting your scenario, please share additional details or use cases. Your feedback will help us better evaluate the priority of this request in the future. Thank you for your understanding and contributions!


Best regards,
Rumen

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!