ASP.Net MVC2 DataAnnotations validation with TinyMCE applied over a textarea?

I think the same question is answered here: ASP. NET MVC 3 unobtrusive validation, submit and TinyMCE.

Yep that works, many thanks. I've employed this solution. – Aaron Feb 16 at 23:09.

Ok I have DataAnnotatations validation working really nicely with the Client-side validation enabled. I have a "required" attribute applied over a textarea called "Description". Now I've applied TinyMCE over this same textarea, so that it becomes a basic HTML editor, vs just a standard textarea.

But now when the DataAnnotations validation runs, it thinks that the textarea is always empty and raises a validation error such as "Description is required" for example. My understanding is that TinyMCE stores the real value in some other hidden field, not truly inside the textarea? How can I notify the DataAnnotations client-side validation to check the true value of the TINYMCE-textarea, and not just the underlying textarea that was created by the HTML Helper?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions