Hi,
I have this situation. With CKEditor I create an html form. Next I load the html in a HtmlPanel.
This form has “text” type that the user can fill.
How I can get all the fields that the user compile or get all the html ?
thank you
Cristian Zerbinati
Hi Cristian,
I’m attaching a sample you can use to get the behavior you want!
Basically you’ll want to:
2. Call it (asynchronously) from your C# / VB Code.
3. Handle the result.
Let me know if you have any questions or issues with the sample!
Best regards,
Levie
Hi Luca,
perfect! Thank you!
bye
Cristian Zerbinati
Hi Luca,
have you a javascript example, please?
best
Cristian
Hi Cristian,
You can get all of the HTML in the CKEditor by checking the “Text” property.
Something like
this.htmlPanel1.Html = this.ckEditor1.Text;
Takes all of the HTML from your editor and loads it into the panel.
If you’re trying to filter the HTML you’ll need to use JavaScript or some kind of RegEx expression.
If this isn’t what you’re after can you please attach a small sample or explain?
Best,
Levie
Please login first to submit.