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.
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!