Click here to Skip to main content
15,906,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using CKEditor 3.6.4 version in my asp.net page. when page loads for first time it will appear. But if am select something in dropdownlist then page will be postback then CKEditor disappears. i am using jquery validation for my page. validation also not working for CKEditor..
How to solve this issues..?

<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript">
window.onload = function () {
var config = { toolbar:
[
['Bold', 'Italic', 'Underline', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink']]};
CKEDITOR.replace('DetailsTxtbx', config);
}</script>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>

<asp:TextBox ID="DetailsTxtbx" runat="server" CssClass="validate[required]" TextMode="MultiLine">

<asp:Button ID="Button1" runat="server" CssClass="button"
onclick="Button1_Click" Text="Submit" />
Posted
Updated 6-Jul-14 18:08pm
v3
Comments
DamithSL 6-Jul-14 23:58pm    
explain with your code, how you add CKEditor?
SnvMohan 7-Jul-14 0:10am    
i have a City drop down list.. when i am choose a city then editor automatically disappear... That editor cant be empty.. so i am validate that through jquery validation.. but validation also not working

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