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

MOSSRadEditor missing toolbar

7 Answers 93 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Delphi
Top achievements
Rank 1
Delphi asked on 27 Apr 2010, 04:27 PM
Howdy,

I am plugging in the MOSSRadEditor into a custom ASPX page for SharePoint. I'm running it on Windows SharePoint Services not MOSS, I hope this isn't an issue. The editor loads but the top toolbar isn't there. The footer buttons are there, Design, HTML, Preview and resize. I've attached an image.

I began the integration using just RadEditor and the toolbars were there and happily working. I had an issue with the dialogs and read that I should use this control instead. I renamed the control tag to MOSSRadEditor and it loads but without the toolbar. I have since loaded it to a fresh new aspx page in SharePoint. My code sample is below. I have installed the wsp file and deployed it as well.

 

<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" %>   
<%@ Register TagPrefix="telerik" Assembly="RadEditorSharePoint, Version=5.7.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" %>   
   
<telerik:MOSSRadEditor ID="RadEditor1" runat="server" ToolbarMode="Default"></telerik:MOSSRadEditor>   
 

and the code behind for the page has

 
        protected override void OnInit(EventArgs e)  
        {  
            Page.Init += delegate(object sender, EventArgs e_Init)  
            {  
                if (ScriptManager.GetCurrent(Page) == null)  
                {  
                    RadScriptManager sMgr = new RadScriptManager();  
                    Page.Form.Controls.AddAt(0, sMgr);  
                }  
            };  
            base.OnInit(e);  
        } 


Thanks!

7 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 30 Apr 2010, 11:54 AM
Hello David,

Could you provide me with the web.config file of your MOSS site and the configurations files of RadEditor for MOSS: ConfigFile.xml, ToolsFile.xml, MOSSEditorTools.js. This way I will be able to try reproducing the issue on our test server.

Also check if replacing the following code will solve the problem:
<%@ Register TagPrefix="telerik" Assembly="RadEditorSharePoint, Version=5.7.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" %>

with
<%@ Register TagPrefix="rad" Assembly="RadEditorSharePoint, Version=5.7.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" %>

and
<telerik:MOSSRadEditor ID="RadEditor1" runat="server" ToolbarMode="Default"></telerik:MOSSRadEditor>
with
<rad:MOSSRadEditor ID="RadEditor1" runat="server" ToolbarMode="Default"></rad:MOSSRadEditor>


Greetings,
Stanimir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Delphi
Top achievements
Rank 1
answered on 05 May 2010, 04:05 PM
Thanks for the help. I replaced the code as noted and still have the issue. My page declartion has

<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" %> 
<%@ Register TagPrefix="rad" Assembly="RadEditorSharePoint, Version=5.7.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" %> 

and my tag looks like

<rad:MOSSRadEditor ID="RadEditor1" runat="server" ToolbarMode="Default"></rad:MOSSRadEditor> 

The web.config file is below. BTW this is WSS3 not MOSS.
I removed web.config due to its size
0
Delphi
Top achievements
Rank 1
answered on 05 May 2010, 04:18 PM
It's there!! I had to click in the content area to get the toolbar to appear.

I am having an issue with the Hyperlink button, same as http://www.telerik.com/community/forums/sharepoint-2007/lite-editor-for-moss/moss-link-manager-in-free-lite-moss-edition-is-appeared-error.aspx. Is this doable in WSS at all?

0
Stanimir
Telerik team
answered on 10 May 2010, 09:13 AM
Hello David Lozzi,

What you need to do is modify the respective ToolsFile.xml and ListToolsFile.xml files, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.x__1f131a624888eeed/RadControls/Editor folder. Just change
<tool name="MOSSLinkManager" shortcut="CTRL+K" />
to
<tool name="LinkManager" shortcut="CTRL+K" />

In addition you can remove all the tools, which start with MOSS. Review the following online help article: http://www.telerik.com/help/aspnet-ajax/installing-radeditor-in-wss-v3-environment.html


Sincerely yours,
Stanimir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Delphi
Top achievements
Rank 1
answered on 12 May 2010, 09:39 PM
IT WORKS!

But the tool bar only appears when clicked, and I have ToolbarMode="Default". Any idea about this?
0
Stanimir
Telerik team
answered on 13 May 2010, 12:04 PM
Hello David Lozzi,

You can find information on the toolbar modes in the following online help article: http://www.telerik.com/help/aspnet-ajax/toolbarmodes.html.

In addition review this help article http://www.telerik.com/help/aspnet-ajax/set-properties-via-config-file.html.

Regards,
Stanimir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Delphi
Top achievements
Rank 1
answered on 13 May 2010, 01:40 PM
Thanks. I will take a look.

I am also going to shift over to using http://www.telerik.com/community/forums/aspnet-ajax/editor/mossradeditor-toolbar-options-aren-t-working.aspxfor toolbar issues.

Thanks,
Tags
Editor
Asked by
Delphi
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Delphi
Top achievements
Rank 1
Share this question
or