MOSSRadEditor Custom Ascx

2 posts, 1 answers
  1. Hans Notelteirs
    Hans Notelteirs avatar
    19 posts
    Member since:
    Apr 2009

    Posted 05 May 2009 Link to this post

    I was looking for an easy way of upgrading my custom sharepoint user controls with <Sharepoint:InputFormTextBox> tags to the <MOSSRadEditor> tags.

    I was struggling to get the component registered through html, because you only provided code for building webparts from the codebehind. Funny thing was that there is no intellisense in visual studio but this is working for me.

    Is there a description of the properties and tags I can use from within HTML like this:
    ...

    <%

    @ Register Tagprefix="radE" Namespace="Telerik.SharePoint" Assembly="RadEditorSharePoint, Version=5.4.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" %>

     

     

    <radE:MOSSRadEditor ID="RuimteBetalendeIntegraties" runat="server" Content='<%#DataBinder.Eval(adapter,"Product.RuimteBetalendeIntegraties")%>' Visible="false" ControlMode="Edit">

     

     

    </radE:MOSSRadEditor>

     

     

    <%

    --<SharePoint:InputFormTextBox ID="RuimteBetalendeIntegraties" Text='<%#DataBinder.Eval(adapter,"Product.RuimteBetalendeIntegraties")%>'

     

    runat="server" TextMode="MultiLine" Rows='<%#richtTextRows%>' Columns="40" RichText="true"

    RichTextMode="FullHtml" AllowHyperlink="true" Visible="false" />

    <SharePoint:InputFormTextBox ID="ReRuns" Text='<%#DataBinder.Eval(adapter,"Product.ReRuns")%>'

    runat="server" TextMode="MultiLine" Rows='<%#richtTextRows%>' Columns="40" RichText="true"

    RichTextMode="FullHtml" AllowHyperlink="true" Visible="false" />--

     

    %>

     

  2. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 07 May 2009 Link to this post

    Hi Hans Notelteirs,

    MOSSRadEditor is based on the RadEditor for ASP.NET AJAX. There are some settings that are set specially  for SharePoint. They regard the dialogs (including the integration of default MOSS dialogues) and the spellchecker. Also the ToolsFile.xml and ConfigFile.xml are located in specific location Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.x.x.x__1f131a624888eeed\Resources.

    So basically you can use all the properties that are implemented in the normal RadEditor for ASP.NET AJAX. Here is a link for the online documentation about the RadEditor http://www.telerik.com/help/aspnet-ajax/editoroverview.html.


    Best wishes,
    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.

Back to Top