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:
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