I faced a problem with CKEDITOR and asp.net required field validator. Strange problem! When I left blank the textarea(CKEDITOR) required field validate it properly. But when I filled up textarea still now required field validator showed error message for entering data.

 

After searched on community I have found that the requiredfield validator control will not work properly when it is used with a textarea that is configured with CKEditor. This is due to the fact that, the CKEditor content will not be synched to the page element(textarea) properly when the validator control fire.

 

To overcome this difficulty, we need to call the method .updateElement() in order to sync or post the content back to the textarea.

 

For solution please visit:
http://aspboss.blogspot.com/2012/02/using-requiredfield-validator-with.html

Add new comment