Custom button in Rad Editor working well in IE 7.0 but not in Fire Fox

3 posts, 0 answers
  1. Nouman
    Nouman avatar
    2 posts
    Member since:
    Feb 2009

    Posted 27 Feb 2009 Link to this post

    In Moss 2007, i created a custom button in Tool bar of Rad Editor control. On clicking the button it will open the Image Picker.
    It works fine in IE 7.0 but in firefox browser that custom button is not even visible.

    Am I missing any line of code to make it visible & working in Firefox ??

    With Best Regards
    Nouman
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 27 Feb 2009 Link to this post

    Hello Nouman,

    In order to create your button in the RadEditor for MOSS, you need to follow this example.
    1. Modify the respective ToolsFile.xml located in Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor folder.
    Add the following line.
    <tool name="Custom1"/> 

    2. Implement the javascript handler for the tool. Add the following code tho the MOSSEditorTools.js file located in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor\Scripts\7_3_4 folder.
    RadEditorCommandList["Custom1"] = function(commandName, editor, oTool) 
    {       
         // Execute your code here, provide it with any arguments that you need, etc.    
    }; 

    Remember to clear the browser's cache.

    3. To improve the appearance of the button, you should provide .gif file for it. Add a Cusotm1.gif file in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor\Skins\Default\Buttons, where Default is the name of the current skin of the editor.

    If you follow this example and experience the same problem again. Please provide us with some additional information. For example: Is there something specific in the way you are adding your custom button? Can you see a javascript error on the page (for FireFox browser you can install FireBug plugin)? Any additional information and a couple of screen shots will be helpful as well.

    Thank you.


    All the best,
    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.

  3. Nouman
    Nouman avatar
    2 posts
    Member since:
    Feb 2009

    Posted 27 Feb 2009 Link to this post

    Hello Stanimir,
    I followed the same procedure as above mentioned.
    I installed the latest version of FireFox, now its working well ...

    Thanks...
    Nouman
Back to Top