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

[Solved] Tools file iconurl attribute

1 Answer 106 Views
Editor
This is a migrated thread and some comments may be shown as answers.
M Iftekharul
Top achievements
Rank 1
M Iftekharul asked on 01 May 2008, 07:56 AM
i have a iconurl attribute set for a custom tool in RadEditor Prometheus. After upgrading to the 2008 Q1 version, i'm getting an error :
Sys.InvalidOperationException: 'iconurl' is not a property or an existing field.

Didn't find anything in the documentation regarding iconurl. please give a solution to this.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 May 2008, 10:28 AM
Hi,

The iconUrl property is not supported by RadEditor for ASP.NET AJAX, because its has new toolbar architecture based on image sprites. Using a new client-side model, semantic rendering, and many other innovations such as the use of css image sprites, the new RadEditor delivers minimal and well-formed output. It’s new rendering and architecture allows it to be a couple of times faster than the classic ASP.NET Editor.

To set an image to a custom tool you should provide image files for it and declare the following CSS class:

<style>
.rade_toolbar.<skinName>
.<commandName>
{
  
background-image: url(MyImage.gif);
}

</style>

You can find more information in the following KB article: Adding Your Own Buttons.

Kind regards,
Rumen
the Telerik team

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