Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey friends

I want to use CLEDITOR in my asp.net program. I just want to know how to get the editor content
for saving in the database and how can I set the data from database to Editor/

GET EDITOR CONTENT AND SET EDITOR CONTENT.

http://premiumsoftware.net/CLEditor[^]

Can anyone help me please.

Thank you
JYOTIRMOY
Posted
Updated 29-Dec-19 23:21pm
Comments
Richard MacCutchan 30-Dec-19 6:25am    
Try checking the documentation for the CLEditor.

1 solution

HTML
<html>
<head>
  
  <script type="text/javascript" src="jquery.min.js"></script>
  <script type="text/javascript" src="jquery.cleditor.min.js"></script>
  <script type="text/javascript">
    $(document).ready(function () { $("#input").cleditor(); });
  </script>
</head>
<body>
  <textarea id="input" name="input" runat="server"></textarea>
</body>
</html>



access textarea id in code behind as

input.Value

& save in database & same process do when fetching data from database.
 
Share this answer
 
Comments
JYOTIRMOY SAMANTA 12-Jul-13 7:58am    
Yes that way I can display the editor in the webpage.
But how to set and get editor content in ASP.NET

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900