This is a migrated thread and some comments may be shown as answers.

Toolbar Dropdownlist of RadEdiotr refresh and reset other dropdownlist value

3 Answers 42 Views
Editor
This is a migrated thread and some comments may be shown as answers.
charles
Top achievements
Rank 1
charles asked on 07 Feb 2011, 05:17 PM
Hi 
1. select a font name from Arial to Verdana
2. select font size to 10px to 12px
3. font name reset to Arial.

my css file for radeditor:

body 
{
    font-family: Arial;
    font-size: 10px;
}

P  
{  
    margin:0px;  
}   

Is there a way not to cause the reset? same to 'Paragraph Style' tool

thank you
Charles





3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 10 Feb 2011, 08:35 AM
Hi Charles,

I tried to reproduce the problem but to no avail. Could you please provide more detailed information regarding specific scenario?

  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
  • Under which browser and its version the problem occurs?
  • Are you able to reproduce the problem on the live demos? If so, could you please provide the exact steps the need to be executed in order to reproduce the issue?
  • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

I have prepared a video demonstrating my test. Could you please see if I am doing something wrong?
http://screencast.com/t/ghnhwxmc0Yn

Looking forward to hearing from you,
Dobromir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
charles
Top achievements
Rank 1
answered on 10 Feb 2011, 03:47 PM
Hi Dobromir,

I have different requirement to format the font style/size.
Is it possible to select my font style/size before typing my content? like how it is in MS Word.

this occur in IE8, chrome 9.0

Video:
https://www.screencast.com/users/charlesXie/folders/Default/media/7adc3a03-e9a1-455d-91c3-7bf7061f55a1


thank you
Charles.
0
Rumen
Telerik team
answered on 15 Feb 2011, 10:44 AM
Hi Charles,

I am aware of this behavior and it is a side effect of our custom RealFontSize tool implementation. Basically, when you choose some value from the FontName dropdown it is inserted an empty font tag in the editor. After that when you select a value from the RealFontSize tool, the tool sees that the selection is empty and strips the Font tag, because it is not designed to work with empty selections.

If you do not like this behavior you can replace the RealFontSize tool with the browser's FontSize tool. You can see how to add new tools to the toolbar in this article: http://www.telerik.com/help/aspnet-ajax/addingstandardbuttons.html


Kind regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
charles
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
charles
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or