Can I disable choose Image Button in Image Map Editor

4 posts, 0 answers
  1. Mete
    Mete avatar
    3 posts
    Member since:
    Oct 2017

    Posted 18 Oct Link to this post

    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

  2. Vessy
    Admin
    Vessy avatar
    1678 posts

    Posted 18 Oct Link to this post

    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.
  3. Mete
    Mete avatar
    3 posts
    Member since:
    Oct 2017

    Posted 18 Oct in reply to Vessy Link to this post

    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

  4. Vessy
    Admin
    Vessy avatar
    1678 posts

    Posted 18 Oct Link to this post

    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.
Back to Top