RadEditor for ASP.NET AJAX

RadControls for ASP.NET AJAX

The code example below demonstrates how to save content directly in the ASPX or ASCX file containing RadEditor for ASP.NET AJAX. This feature can greatly simplify development in many practical scenarios, such as when you have pages with more static content ( e.g. welcome messages, FAQ, company information, contacts etc) that can be equipped with an editor, without the need to be connected to a database.

The content will be saved inside the Content inner tags of RadEditor for ASP.NET AJAX so please remember to add the content tag to the editor declaration in the ASPX file so it can be correctly updated.In order for RadEditor for ASP.NET AJAX to save content directly to the control files, you have to give full permissions to the ASPNET / Network Service user for the folders and files in which the editor resides. You can find info on how to set the permissions at the following link: Setting ASPNET (Network Service) Permissions.

CopyASPX
<telerik:radeditor id="RadEditor1" runat="server">
   <content>
       Please remember to add the content tag to the editor declaration in the ASPX file so it can be correctly updated
   </content>
</telerik:radeditor>
<asp:Button ID="btnSubmit" Text="Submit" runat="server" OnClick="btnSubmit_Click" />

See Also

Other Resources

[2A4D06B0-79B4-4D75-9024-6D3129B0C21C]