I am trying to write a validation on my fck editor. The problem is we have it as our own user control. I want to write a validation some thing like a user can enter 3 lines or say 100 characters. How do I do it with fck editor?
I tried regular text box validation and it doesnt work.
I tried regular text box validation and it doesnt work.

Re: Writing a validation on fck editor
A very, very quick example:
code-behind snippet:
protected void CustomValidator1_ServerValidate(object source, ServerValidateEventArgs args) { if ((FCKContent.Value == "<p></p>") || (FCKContent.Value.Length == 0)) { CustomValidator1.ErrorMessage = "Please enter some HTML content"; args.IsValid = false; } else { args.IsValid = true; } }Obviously you'd need to put in your own custom logic, and not just detect a Length or empty string value. I suggest reading the CustomValidator .NET documentation