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

Emoticon always dropdown?

2 Answers 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Don Tian
Top achievements
Rank 1
Don Tian asked on 24 Apr 2011, 04:12 PM
Hi,

I followed the sample emoticon demo at
http://demos.telerik.com/aspnet-ajax/editor/examples/customdropdowns/defaultcs.aspx

The problem is, after selecting an emoticon via the dropdown, it is very hard to select another emoticon from the same dropdown because you have to click on the tiny dropdown arrow and it is very easy to click on the icon and get another of the same emoticon you previously selected.

Is there any way to make the EditorSplitButton always dropdown its items, even if you click on the icon?


2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 25 Apr 2011, 03:32 PM
Hello Don,

You can disable the built-in update header functionality of a custom tool or another split-button using the javascript code below. Therefore every time when you click on the button it will expand its dropdown:

 <script type="text/javascript">
function OnClientLoad(editor) {
   //Disable header update functionality 
var tool = editor.getToolByName("<Put Your Tool Name Here>"); tool.set_updateHeader(false);
}
</script>
 <telerik:RadEditor ID="RadEditor1" OnClientLoad="OnClientLoad" runat="server" ...

Best 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.

0
Don Tian
Top achievements
Rank 1
answered on 25 Apr 2011, 05:24 PM
Thanks, that worked!
Tags
Editor
Asked by
Don Tian
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Don Tian
Top achievements
Rank 1
Share this question
or