26

Re: TinyMCE in ASP.NET

http://nuget.org/packages/TinyMCE

Best regards,
Spocke - Main developer of TinyMCE

27

Re: TinyMCE in ASP.NET

This worked for me. Thank you so much.

Last edited by kahis007 (2012-02-15 10:26:12)

28

Re: TinyMCE in ASP.NET

Hey all,

I took the OPs code and incorporate it into an ASP.NET 4.0 server control:  http://www.msigman.com/2012/03/asp-net- … r-control/ complete with examples, source code, and documentation.

29

Re: TinyMCE in ASP.NET

I get it to display but how do you get the HTML text it generates to display on a Asp page. No matter what i do it crashes. even when i use a literal.

30

Re: TinyMCE in ASP.NET

Hello,
I have big problem. I would like to encapsulate TinyMCE just like this hint, but i have this error:
Unknown server tag 'cc:TextEditor'.
But when I try to create TextEditor in code behind, it’s ok - but it’s not comfortable. I can add control to place holder by Placeholder.Controls.Add(TextEditor)
Any ideas?

http://goodtechsystems.com/

31

Re: TinyMCE in ASP.NET

This is very good!  I am using it in my application. It's really neat.
Thanksfor your sharing!

32

Re: TinyMCE in ASP.NET

rahmanwarsi123 wrote:

Hello,
I have big problem. I would like to encapsulate TinyMCE just like this hint, but i have this error:
Unknown server tag 'cc:TextEditor'.
But when I try to create TextEditor in code behind, it’s ok - but it’s not comfortable. I can add control to place holder by Placeholder.Controls.Add(TextEditor)
Any ideas?

You need to get the assembly and namespace and add a tag at the top of your page/user control, right below the <%@ Page or  <%@ Control directive

<%@ Register TagPrefix="cc" Assembly="TextEditor"  Namespace="MyWebSite" %>

Assembly="TextEditor" is sometimes optional - but I recommend always using it - it is the DLL file name that the class is compiled into.

you can add the same sort of declaration project wide by including in the web.config

<pages>
    <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

        <add namespace="TextEditor" assembly="TextEditor" tagPrefix="cc" />

        <add namespace="Carrotware.CMS.UI.Controls" assembly="Carrotware.CMS.UI.Controls" tagPrefix="carrot" />
        <add namespace="Carrotware.Web.UI.Controls" assembly="Carrotware.Web.UI.Controls" tagPrefix="carrot" />

    </controls>
</pages>
http://www.carrotware.com

33

Re: TinyMCE in ASP.NET

It saved me a lot of time and was really straight forward to get TinyMCE integrated with ASP.NET.

34

Re: TinyMCE in ASP.NET

This worked for me. Thank you so much.

35

Re: TinyMCE in ASP.NET

@EasyLife what do you get in the logs?

Last edited by axxo1 (2013-08-23 16:45:49)

R.

36

Re: TinyMCE in ASP.NET

This is great ... I intend to do just this.

Nevertheless, at the moment, i'm using the old way with the js script and textbox.
Everything works fine with pages and masterpages, but DOES NOT work in a usercontrol.

Anyone faced this issue before, any solutions please ?

thank you..
Fellow developer...