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

[Solved] RadEditor: Binding content from content type in MOSS2007

3 Answers 112 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 09 Jun 2008, 02:50 PM
Hi wondered if someone had a few pointers please - I used the FieldName property in the older version of the RadHtmlField (<radE:RadHtmlField FieldName="PublishingPageContent" runat="server" id="RichHtmlField1"/>) as a bind to the data and to bring in the desired content (ALL THIS IN A SHAREPOINT PAGE LAYOUT)- is there any way of doing that in the new RadEditor for ASP.NET AJAX - the help indicates the following 2 ways (is there another way to bind to sharepoint content?) :-

RadEditor provides 2 different ways to set its content:
  1. Setting the content programmatically:
    RadEditor1.Content = "<strong>Sample HTML Content Loaded via the Content property</strong>"
  2. Inline in the RadEditor declaration: RadEditor offers to set content directly in the ASPX or ASCX file

    <telerik:radeditor runat="server" ID="RadEditor2" Height="100px">
    <Content>
    <strong>Sample HTML Content set inline in the RadEditor declaration</strong>
    </Content>
    </telerik:radeditor>

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 11 Jun 2008, 01:38 PM
Hi Dave,

Thank you for the provided information.

Note that there is no change between the old and the new editor's content binding mechanisms, so you can use the same approach.

If you still experience difficulties achieving the desired behavior, please give us more details about your exact scenario and we will do our best to provide a solution. What version of the editor are you using?

I hope this helps.

Best regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dave
Top achievements
Rank 1
answered on 11 Jun 2008, 01:51 PM
George,

hi,

then how do you bind to content data in the new control given that there is no FieldName attribute e.g. 'FieldName="PublishingPageContent"'
Or will that be addressed in a new RadControl for Sharepoint 2007 release?
0
George
Telerik team
answered on 13 Jun 2008, 12:34 PM
Hi Dave,

Please download and Install the 5.0.1 version of RadEditor for MOSS and you will be able to achieve the desired behavior. 

You can download it within your Client.net account: My Licenses --> Free Trials --> RadControls for ASP.NET AJAX --> Download --> RadEditorMOSS_5_0_1_Trial.zip

In addition please review the RadEditor for MOSS v.5.x online help:
http://www.telerik.com/help/aspnet-ajax/moss-introduction.html

I hope this helps.

Have a great weekend,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Dave
Top achievements
Rank 1
Answers by
George
Telerik team
Dave
Top achievements
Rank 1
Share this question
or