bootstrap wysihtml5 set Value not working

You should be able to achieve the same using below

window.describeEditor = window.editor;

And then later you should can use

describeEditor.setValue(c.DescrizioneBreve, true)

or use"wysihtml5").editor.setValue(c.DescrizioneBreve, true);

Where editorDescrizioneBreve is the object returned by $("#<%=txtDescrizioneBreveCategoria.ClientID%>").wysihtml5()

PS: Solution based on

For me, this worked:


I have only one Wysihtml5 on my page, with multiple, you need to use more precise selector.