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

[Solved] Using RadEditor as editor in template column

1 Answer 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ian Poley
Top achievements
Rank 1
Ian Poley asked on 28 Feb 2008, 10:04 PM
I found a Telerik KB article that achieves the same thing I'm trying to do -- Use a RadEditor in the EditFormTemplate. 

http://www.telerik.com/support/kb/article/b454K-tae-b454T-cbb.aspx

However, in the Prometheus release, the Html attribute has been replace with the Content attribute. How can I bind my database values to the RadEditor's Content attribute? 

Pre-Prometheus we simply used Html='<%# Bind("DbColumn") %>'

I've tried the following and it does not work:  

<telerik:RadEditor runat="server" ID="RadEditor1"
ToolsFile="~/xml/BasicTools.xml">
<Content>
<%# Bind("dbColumn") %>
</Content>
</telerik:RadEditor>


What is the correct implementation?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Feb 2008, 08:40 AM
Hi Ian,

Here is an example:

<telerik:RadEditor ID="RadEditor1" Content='<%# Bind("dbColumn") %>' runat="server"></telerik:RadEditor>

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Ian Poley
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or