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

Can I disable choose Image Button in Image Map Editor

3 Answers 85 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Mete
Top achievements
Rank 1
Mete asked on 18 Oct 2017, 08:19 AM

Hello,

We don't want to provide image manager screen in Image Map editor. How can I disable "choose image" button ? I attached the screen shot to show which button I exactly want to disable.

Thanks

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 18 Oct 2017, 11:58 AM
Hi Mete,

You can remove or disable the ImageManager option by modifying the ImageMap.ascx dialog of the Editor. You can see how to enable the external dialogs for the control here:
http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx

For example, you can hide the Choose image option with CSS:
ImageMap.ascx
<
div class="redSection" style="display: none">
    <div class="redRow redToolButton" >
        <span class="propertyLabel">
            <label class="redLabel">
                <script type="text/javascript">document.write(localization["ChooseImage"]);</script>
            </label>
        </span>
        <tools:ImageDialogCaller ID="ImageCaller" runat="server" />
    </div>
</div>


Regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Mete
Top achievements
Rank 1
answered on 18 Oct 2017, 01:33 PM

Hi Vessy,

Thanks for your answer. I found out that we just use dll version of the telererik component. How to install the EditorDialogs folder in my project?

 

Thanks

0
Vessy
Telerik team
answered on 18 Oct 2017, 02:55 PM
Hi Mete,

You can download the installation file of the controls from your Telerik account and follow the steps from this article:
https://docs.telerik.com/devtools/aspnet-ajax/installation/installing-the-telerik-controls-from-msi-file

Once you install the controls, you will find the EditorDialogs folder in the installation folder in a similar location (the version depends on the installed one):
C:\Program Files (x86)\Telerik\UI for ASP.NET AJAX R3 2017\EditorDialogs

Please, note that both the dialogs and the DLLs used in a project have to be taken from one and the same controls version.

Regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ImageEditor
Asked by
Mete
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Mete
Top achievements
Rank 1
Share this question
or