We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RichTextEditor - How to implement

Thread ID:

Created:

Updated:

Platform:

Replies:

61340 May 23,2007 04:32 PM UTC Jun 22,2007 06:55 PM UTC ASP.NET Web Forms (Classic) 13
loading
Tags: Tools
Amy Patterson
Asked On May 23, 2007 04:32 PM UTC

I cannot get your rich text editor control to work in my ASP.NET app. I looked at your "FullToolset" sample and liked it so I copied all of the code, as is, to my app in a new page. I added all the images and spellcheck code exactly as it is to my code. I does not seem to recognize the following register element. What is to and what am I doing wrong?

<%@ Register Assembly="SourceCodeTab" Namespace="SourceCodeTab" TagPrefix="sb" %>


Maheswari [Syncfusion]
Replied On May 24, 2007 06:33 AM UTC

Hi,

The sourcecode tab is used in our product samples to display the sample code. It is not necessary to include it when using our controls in applications. Could you please remove the following codes from .aspx file?

[ Code ]

<%@ Register TagPrefix="sb" Namespace="SourceCodeTab" Assembly="SourceCodeTab, Version=5.102.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89" %>


I have modified the FullToolSet sample without SourceCodeTab. Please refer the below link for the modified sample: http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/F_61340/main.htm

Kindly let me know if this helps you.

Thank you for using Syncfusion products.

Regards,
Maheswari


bojan
Replied On May 25, 2007 09:54 AM UTC

hi,

I am new in web devoloping, so probably what i'm going to ask you is vety easy to be done. but, since I'm using this tool, I was hoping that you might help me on this.

how can i implement rich text editor in my web app, so the output could be formated paragrafs. i dont know how to bind it to the field of my database, so when i type text in RichTextEditor and press update, that text would be inputed in my database formated as i wonted. i used data type varchar(max)in my database for this field.

plesa help

Maheswari [Syncfusion]
Replied On May 26, 2007 06:18 AM UTC


Hi,

Please refer the below link which will help you to display formatted text as output using our RichTextEditor.
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum_61340/main.htm

I am working on creating a sample for binding the RTE with any field of database. I will update you on Monday.

Thank you for using Syncfusion products.

Regards,
Maheswari

Amy Patterson
Replied On May 29, 2007 10:31 PM UTC

I am using version 4.202.0.37 and still cannot get it to compile. It doesn't like the register items. I am using visual studio 2005 with AJAX support.

Maheswari [Syncfusion]
Replied On May 30, 2007 02:35 PM UTC


Hi Apatterson,

Could you please remove the following codes from .aspx file?

[ Code ]

<%@ Register TagPrefix="sb" Namespace="SourceCodeTab" Assembly="SourceCodeTab, Version=4.0.0.0, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89" %>


I have modified the FullToolSet sample without SourceCodeTab. Please refer the below link for the modified sample:
FullToolset.zip

If still the problem exists, please try to reproduce the issue in the attached sample and send back to us. It will help us to investigate the issue clearly.

Thank you for using Syncfusion products.

Regards,
Maheswari.


Amy Patterson
Replied On May 30, 2007 03:28 PM UTC

Here is the error message that I get when I try to compile the code. I have included the "syncfusion.tools.Web.dll" file in my references.

Error 1 Could not load file or assembly 'Syncfusion.Tools.Web, Version=4.202.0.372, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) C:\src\websites\bweb\Web\site\FullToolSet.aspx 3

Maheswari [Syncfusion]
Replied On May 31, 2007 12:13 PM UTC


Hi Bojanpaun,

Sorry for the delay in getting back to you.

We have created a new direct - trac incident for RTE-databinding with Incident id #34468. Could you please follow up with this incident for further details?

Thank you for using Syncfusion products.

Regards,
Maheswari.P

Maheswari [Syncfusion]
Replied On May 31, 2007 01:05 PM UTC

Hi Apatterson,

I am able to reproduce the mentioned issue. This is becasue the assemblies are not refered properly while running the RTE sample. Please add the below code s into your Web.Config file under tag :












Kindly let me know if this helps you.

Thank you for using Syncfusion products.

Regards,
Maheswari


Amy Patterson
Replied On June 18, 2007 08:51 PM UTC

I still can't get it to work, I have attached the zip file with all of my files in it.

AJAXEnabledWebSite4.zip

Amy Patterson
Replied On June 18, 2007 08:58 PM UTC

Server Error in '/AJAXEnabledWebSite4' Application.
--------------------------------------------------------------------------------

Failed to map the path '/Syncfusion/Resources/ToolsWeb/Scripts/'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Failed to map the path '/Syncfusion/Resources/ToolsWeb/Scripts/'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Failed to map the path '/Syncfusion/Resources/ToolsWeb/Scripts/'.]
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +3530156
System.Web.VirtualPath.MapPathInternal() +41
System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +122
System.Web.UI.Page.MapPath(String virtualPath) +45
Syncfusion.Web.UI.WebControls.Tools.RichTextEditor.GetResolvedScriptFilesPath() +91
Syncfusion.Web.UI.WebControls.Tools.RichTextEditor.OnPreRender(EventArgs e) +102
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

Gokul B [Syncfusion]
Replied On June 19, 2007 11:31 PM UTC

Hi Apatterson,

Thanks for your sample.

We couldn't able to reproduce the issue even with your sample. We tried to run your sample in AJAX enabled Environment. Unlike you mentioned, it doesn't reproduce the issue. However could you please do the following to overcome this issue.

* Run the "Re-Install Syncfusion Virtual Directories" from the Essential Studio Dashboard which will reconfigure your IIS settings. You can find the Dashboard in the below location.

Start --> Programs --> Syncfusion --> Essential Studio 5.1.0.51 --> Dashboard.

* Run the "Re-initialize Visual Studio.NET Toolbox" from the Essential Studio Dashboard which will reset your Visual studio .Net Toolbox.

Try this and let us know if it helps.

Regards,
Gokulkumar B

Amy Patterson
Replied On June 21, 2007 04:51 PM UTC

I don't have a dashboard. I am running version 4.2.0.37

Gokul B [Syncfusion]
Replied On June 22, 2007 06:55 PM UTC

Hi Apatterson,

Thanks for your update.

Please try the following.

* Run the "Reconfigure IIS" from the "TroubleShotting" which will reconfigure your IIS settings. You can find the Trouble Shotting in the below location.

Start --> Programs --> Syncfusion --> Essential Studio 4.2.0.37--> TroubleShotting.

* Run the "Reset Visual Studio Toolbox" from the same "TroubleShotting" which will your Visual Studio .Net Toolbox.

Try this and let me know if it helps.

Regards,
Gokulkumar B

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;