May 30, 2015, 5:22 PM
[CLOSED] Find non ExtJs Component and Set Value
Hi
I add a tinymce with text-area
How I set or get value from it?
I try
I add a tinymce with text-area
X.Panel()
.Listeners(l => {
l.AfterRender.Handler = "tinymce.init({selector:'textarea'});";
})
.Content(
@<text>
@Html.TextAreaFor(obj => obj.EmailBody, new { @class = "smallinput", @style = "height: 200px; width: 100%;" })
</text>)
How I find this in client side and server side ?How I set or get value from it?
I try
var v=Ext.get('EmailBody')
v.setHTML('123')
console.log(v.getValue());
but set and get not working.
Last edited by Daniil; Jun 23, 2015 at 6:27 PM.
Reason: [CLOSED]