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

Editor - Hide some Image manage Properties

1 Answer 79 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 10 Jun 2014, 02:30 PM
Hello,

  Here i have two questions :-

1.  How  to hide image button from properties, find the attachment

2.  On clicking on that image button i need to call javascript function,  here i am using

     OnClientCommandExecuting="changeImageManager"   its working when i click "imagebutton from tools" but its not working when i click on  "image manager properties" imagebutton.

Please answer me for these questions.

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 12 Jun 2014, 06:11 AM
Hi Ravi,

Modifying the editor dialogs is possible by following the Customize Built-in Editor Dialog approach, demonstrated in this live example. In your case you should modify the SetImageProperties.ascx file and set properly the ExternalDialogsPath property as suggested in the mentioned demo.

A similar actions is also described in this KB article.


Executing further logic upon triggering dialog tools is not a matter handled by the OnClientCommandExecuting or OnClientCommandExecuted events. These events are raised only when commands form the toolbar are executed.

To add some custom logic, you should again follow the dialog customization approach and define the desired logic with the possible event handlers.

 
Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Ravi
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or