Home > ASP .NET, Javascript, Web Development > How to use TinyMCE in ASP .NET?

How to use TinyMCE in ASP .NET?

howdy everyone,

well, its been quite a few days since I dropped something on my blog, been eXtreeemly busy these days. Did any one missed me?? :D

OK, today I got this little test application for you people who are wondering: “how to use TinyMCE in ASP .NET?”. Trust me, its very simple and very straight forward.

Here’s how I used TinyMCE in my application:-

I just added this in the head tag.

<script language=”javascript” type=”text/javascript” src=”tinymce/jscripts/tiny_mce/tiny_mce.js”></script>
<script language=”javascript” type=”text/javascript”>
tinyMCE.init({
mode : “textareas”,
theme : “simple”
});
//you can also used “advanced” for themes
</script>

After that just put a multiline textbox in and it will take the form of a feature rich WYSIWYG editor.

You can also ’skin’ this as well. By default the download comes with two skins, one is the advanced and the other a much simpler one.

Download the code

  1. July 29, 2009 at 1:53 pm | #1

    Whoaaaa excellent man!! U saved my day :) thanks man keep it up!

    • Imran Akram
      July 30, 2009 at 7:25 am | #2

      hey, thanks for acknowledging man! :)

  1. No trackbacks yet.