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

[Solved] Emoticons

6 Answers 323 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andrew Costello
Top achievements
Rank 1
Andrew Costello asked on 04 Jan 2008, 12:17 AM
Does this method:
http://www.telerik.com/support/kb/article/b454K-kdc-b454T-btc.aspx
work for the new editor?

6 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 Jan 2008, 09:42 AM
Hi Andrew,

Please, use the provided solution in the following forum thread: Smilie Example.

We plan to make the custom dropdown implementation much easier in the coming updates of RadEditor "Prometheus" and we will provide a server-side API for this.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andrew Costello
Top achievements
Rank 1
answered on 05 Jan 2008, 05:03 AM
In that post you said you expect to have this released with this current release? Is it going to be coming soon, if so I will wait. If not does the "hack" have any browser limitations or problems? There were no notes I could see on that.
0
Rumen
Telerik team
answered on 06 Jan 2008, 01:54 PM
Hi Andrew,

For the time being, this is the only possible way to create a custom dropdown and it works in IE and Firefox. We plan to provide a new api for Q1 of RadControls 2008, but if possible we will implement this feature earlier. It is logged with high priority in our ToDo list.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andrew Costello
Top achievements
Rank 1
answered on 23 Jan 2008, 08:17 PM
The update on January 15, 2008 broke the emoticons. It now drops the toolbar. Here is what it looks like now
 
This is the before
0
Rumen
Telerik team
answered on 24 Jan 2008, 08:58 AM
Hello Andrew,

The solution should work properly with the latest version. To verify this I made a test and saw that the emoticons dropdown is displayed properly on the toolbar. You can see my test in the attached video as well as test my project.

If you are not able to solve the problem on your side, please open a support ticket and send a sample runnable project that demonstrates the problem. I will examine it and try to provide a solution.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rumen
Telerik team
answered on 25 Jan 2008, 03:54 PM
Hi,

Thanks to Andrew, we found a bug in the emoticons code. To fix it just replace the following line in the code:

    //IE Maintain size of toolbar
    if (parent.style.width) parent.style.width = (parent.offsetWidth + 10) + "px";

with this one:

    //IE Maintain size of toolbar   
    if (parent.style.width) parent.style.width = (parseInt(parent.style.width) + 10) + "px";   


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Andrew Costello
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Andrew Costello
Top achievements
Rank 1
Share this question
or