Hello all,
How do I bind the RadEditors content to a formview "field" value. e.g. the FCKEditor equivalent is
Thank you in advance
How do I bind the RadEditors content to a formview "field" value. e.g. the FCKEditor equivalent is
<
FCKeditorV2:FCKeditor ID="CallDescriptionTextBox" runat="server" Value='<%# Bind("CallDescription") %>' Width="100%" />
Thank you in advance
3 Answers, 1 is accepted
0
Hi Rhys,
Please, see this live demo: Datagrid Edit Template. You can use this syntax to bind RadEditor:
<telerik:radeditor
Id="Editor"
Runat="server"
Content='<%# DataBinder.Eval(Container.DataItem, "NewsText") %>'
></telerik:radeditor>
More information is available here: Edit Template In Grid.
Best regards,
Rumen
the Telerik team
Please, see this live demo: Datagrid Edit Template. You can use this syntax to bind RadEditor:
<telerik:radeditor
Id="Editor"
Runat="server"
Content='<%# DataBinder.Eval(Container.DataItem, "NewsText") %>'
></telerik:radeditor>
More information is available here: Edit Template In Grid.
Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

M
Top achievements
Rank 1
answered on 23 Nov 2010, 05:47 AM
Why doesn't the 'Content' property show up in the 'Intellisence' or the 'Property' window in Visual Studio?
I've been looking for a month trying to get this Editor to work with SQL in a Formview.
None of your documentation shows this.
Now I can use this product!!!!!
I suggest that you put up some EASY TO USE, demo pages that don't require having to 'Strip down' your code to work.
Just some really simple demonstrations of all of your Controls.
I develop sites that are SQL db driven.
I need to use your controls to access and manipulate data easily.
Your controls look great, but I haven't been able to use them.
How about some help with some barebones demos,maybe videos, step, by step starting with a new project, new page, dropping a control on the page and every step to get it to work.
For example, look at Microsoft's AjaxControlToolkit website and their demos. Simple easy to follow instructions.
Thank for your help.
I've been looking for a month trying to get this Editor to work with SQL in a Formview.
None of your documentation shows this.
Now I can use this product!!!!!
I suggest that you put up some EASY TO USE, demo pages that don't require having to 'Strip down' your code to work.
Just some really simple demonstrations of all of your Controls.
I develop sites that are SQL db driven.
I need to use your controls to access and manipulate data easily.
Your controls look great, but I haven't been able to use them.
How about some help with some barebones demos,maybe videos, step, by step starting with a new project, new page, dropping a control on the page and every step to get it to work.
For example, look at Microsoft's AjaxControlToolkit website and their demos. Simple easy to follow instructions.
Thank for your help.
0
Hi M,
The Content property is an inner-tag property
<telerik:RadEditor ID="RadEditor1" runat="server">
<Content>
sample content
</Content>
</telerik:RadEditor>
and despite that it can be set inline
<telerik:RadEditor ID="RadEditor1" Content=' <%# Bind("Customer_Name") %>' runat="server"></telerik:RadEditor>
for databind scenarios, it cannot be added to the Intellisense of Visual Studio. The iiner-tag properties could not be added to the Intellisense.
The requested information for DB scenarios is already available in the help: Edit Template In Grid, e.g.
The key portion of markup to notice in the example below is the tag EditItemTemplate that contains the RadEditor. You can bind text from the database to the editor by assigning the Content property with an Eval statement:
The information is also available in this live demo: Edit Template In Grid as well as in the RadEditor's forums.
Can you please tell where do you expect to find this information and I will add it to the documentation?
Sincerely yours,
Rumen
the Telerik team
The Content property is an inner-tag property
<telerik:RadEditor ID="RadEditor1" runat="server">
<Content>
sample content
</Content>
</telerik:RadEditor>
and despite that it can be set inline
<telerik:RadEditor ID="RadEditor1" Content=' <%# Bind("Customer_Name") %>' runat="server"></telerik:RadEditor>
for databind scenarios, it cannot be added to the Intellisense of Visual Studio. The iiner-tag properties could not be added to the Intellisense.
The requested information for DB scenarios is already available in the help: Edit Template In Grid, e.g.
The key portion of markup to notice in the example below is the tag EditItemTemplate that contains the RadEditor. You can bind text from the database to the editor by assigning the Content property with an Eval statement:
Content='<%# Eval("Body") %>'
Note that this is done as an attribute of the <telerik:RadEditor> tag and not within the <Content> child element. Also note that the Eval statement is surrounded in single quotes.
The information is also available in this live demo: Edit Template In Grid as well as in the RadEditor's forums.
Can you please tell where do you expect to find this information and I will add it to the documentation?
Sincerely yours,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.