The main way to save the RadEditor's content in a database is to add your own asp button with database-saving code attached in the button click event handler.The above example does this using an asp datagrid to view the updated content of the database as well as Edit and Delete the content. The Content property is used to get and set the editor content.
Please, note that the page is not XHTML compliant due to that the <a> tags loaded in RadEditor contain target="_blank" attributes. There isn't a target attribute in XHTML specification.
Note: If you encounter problems with the demo, make sure the ASP.NET system process has "write" privileges for the directory:
Here's how:
- Right-click on the web application folder, and select Properties.
- Select the "Security" tab.
- Click "Add..." to add a user.
- On the new dialog click "Advanced...".
- On the new dialog click "Find now...".
- Select ASP.NET user from the list of available users.
- When you go back to the "Security" tab select the ASPNET user and give it full permissions.
Related Resources