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 - Font Property not have an affect at run time.

Thread ID:

Created:

Updated:

Platform:

Replies:

59146 Apr 5,2007 02:58 PM UTC Apr 5,2007 05:26 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Burton Wilkins
Asked On April 5, 2007 02:58 PM UTC

Dear Support:

In testing the newest Beta, I find that for the RichTextEditor control, if you set the Font property to a Font, and then run the Web application, the control ignores what should be this new default Font setting, and displays any text typed into the text box apparently in Times Roman.

I also tried setting the Font and size in code. For example, I placed the following code within the Page_Load:

RichTextEditor1.Font.Name = "Verdona"
RichTextEditor1.Font.Size = 10

The control likewise ignored this setting as well.

I checked your knowledgebase, and found that there was a single posting dealing with how in code to add "custom tools to the Editor Control." This knowledge base article stated that the following code could be used:


RichTextEditor1.NamedFonts.Add("Verdana")
RichTextEditor1.NamedSize.Add("3");

I tried this as well. The first line in adding the Font was allowed by the control, but had no affect at run time either alone or when used in conjuction with the prior line I offered:

RichTextEditor1.NamedFonts.Add("Verdana")
RichTextEditor1.Font.Name = "Verdona"

The second line of code offered in the knowledgebase article was even less successful:

RichTextEditor1.NamedSize.Add("3")

The above line of code returns an Error when compiled that "NamedSize" is not a member of "Syncfusion.Web.UI.WebControls.Tools.RichTextEditor."

I did see that when the control is running, you can set the Font at that time from the toolbar, and indeed then that Font setting is respected and used.

However, in this case, I had hoped to set the Font in advance and have no toolbar's showing on the RichTextEditor. The control apparently does not support the Font property at this time as programmers have come to expect.

Is this forum where I should be reporting apparent bugs? Could you please tell me (a) if this condition is to be corrected, and (b) when I might see this correction?

Sincerely,

Burton G. Wilkins

Administrator [Syncfusion]
Replied On April 5, 2007 05:26 PM UTC

See response in the duplicate entry.

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

;