I am not able to right click in RadEditor with IE 8 browser but its working fine with mozilla

4 posts, 0 answers
  1. Nileshkumar
    Nileshkumar avatar
    18 posts
    Member since:
    May 2011

    Posted 19 Nov 2012 Link to this post

    Hi,
    I am using RadEditor conrol in my application. In IE 8 browser when i try to right click in the RadEditor, nothing is happen. But its working fine with the mozilla firefox browser. 
    Kindly provide the solution to enable the right click in the IE browser for the RadEditor control.
     
  2. Rumen
    Admin
    Rumen avatar
    14011 posts

    Posted 20 Nov 2012 Link to this post

    Hi,

    RadEditor does have context menus in IE8. Are you able to see them in the following live demo: Overview?

    If the problem is reproducible in your project, make sure that you have not customized the editor, for example by removing or adding buttons which will automatically removes the content menus as well. If this is your case, you can add the menus manually as shown in this help article: Context Menus.

    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Nileshkumar
    Nileshkumar avatar
    18 posts
    Member since:
    May 2011

    Posted 20 Nov 2012 Link to this post

    Hi Rumen,
    I have not placed any buttons or other controls in my editor.  But as per our response I have added context menu manually but there are two problem with this solution.
    1. If I select the content in the RadEditor & do the right click then nothing is happen. I need to right click in the other area of editor then only the context menu (For copy/paste) is appearing.
    2. Before the change i was able to right click in editor with Mozilla browser but after adding context menu manually, its displaying message that "Please select Ctrl +C to copy" or "Please select Ctrl+V to paste" while copy/paste the content in the editor.
    Kindly provide solution for these two problem or is there any other way to solve the problem in the IE browser only so that the functionality works as it is int the other browsers(i.e. Mozilla).

  4. Rumen
    Admin
    Rumen avatar
    14011 posts

    Posted 21 Nov 2012 Link to this post

    Hi,

    1) The provided information is insufficient to reproduce the problem. Please, provide a working example which shows the issue along with a video or screenshots and sample content. You did not also answer my question whether the problem is reproducible in the live demos of RadEditor.

    2) You should avoid setting context menu items for the body and p tags and the browser will show its built-in context menus in non IE browsers, e.g.

    <telerik:RadEditor ID="RadEditor1" runat="server">
      <ContextMenus>
        <telerik:EditorContextMenu TagName="IMG">
          <telerik:EditorTool Name="SetImageProperties" />
          <telerik:EditorTool Name="ImageMapDialog" />
        </telerik:EditorContextMenu>
        <telerik:EditorContextMenu TagName="TABLE">
          <telerik:EditorTool Name="ToggleTableBorder" />
          <telerik:EditorTool Name="SetTableProperties" />
          <telerik:EditorTool Name="DeleteTable" />
        </telerik:EditorContextMenu>
        <telerik:EditorContextMenu TagName="TD">
          <telerik:EditorTool Name="InsertRowAbove" />
          <telerik:EditorTool Name="InsertRowBelow" />
          <telerik:EditorTool Name="DeleteRow" />
          <telerik:EditorTool Name="InsertColumnLeft" />
          <telerik:EditorTool Name="InsertColumnRight" />
          <telerik:EditorTool Name="MergeColumns" />
          <telerik:EditorTool Name="MergeRows" />
          <telerik:EditorTool Name="SplitCell" />
          <telerik:EditorTool Name="DeleteCell" />
          <telerik:EditorTool Name="SetCellProperties" />
        </telerik:EditorContextMenu>
        <telerik:EditorContextMenu TagName="A">
          <telerik:EditorTool Name="SetLinkProperties" />
          <telerik:EditorTool Name="Unlink" />
        </telerik:EditorContextMenu>
      </ContextMenus>
    </telerik:RadEditor>

    All the best,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top