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

Content attribute not there

1 Answer 33 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Barb
Top achievements
Rank 1
Barb asked on 10 Aug 2008, 12:46 AM
Hi.

I am using am RadEditor inside a RadGrad  and want to set its Content to some text from the db.

There is an example on this page http://www.telerik.com/help/aspnet-ajax/edittemplateingrid.html

It is setting the Content attribute  -  that attribute is not even available for me  -  when I try to set it in the area betweent the <Content> tags it does not like the  <%# Eval("somefield") %> . 

thanks

-Barb

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Aug 2008, 06:49 AM
Hi Barb,

Please, try the following way to set the Content property:

<telerik:RadEditor ID="RadEditor1" runat="server" Content="<%# Eval("somefield")%>" ></telerik:RadEditor>

Have a nice day,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Barb
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or