Remove button "Maximize Image"

4 posts, 0 answers
  1. Support
    Support avatar
    13 posts
    Member since:
    Feb 2012

    Posted 30 Jun Link to this post

    Hi, I have a RadImageGallery with DisplayAreaMode="LightBox".

    It's possible remove from LightBox the button "Maximize Image"?

     

    Thanks in advanced.

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 05 Jul Link to this post

    Hello,

    You can hide the button with a bit of CSS. Add the following CSS rule to the page and the button should not be displayed.

    .RadImageGallery .rltbActionButton {
        display: none !important;
    }


    Regards,
    Viktor Tachev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Support
    Support avatar
    13 posts
    Member since:
    Feb 2012

    Posted 05 Jul in reply to Viktor Tachev Link to this post

    Hi, thanks for the reply.
    In this way, however, also hides the "Close" button.
  5. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 06 Jul Link to this post

    Hi,

    Indeed this hides the close button. I apologize for the mistake.

    In order to hide only the maximize button you would need to modify the CSS a bit. The following code will hide the maximize and restore buttons.


    .RadImageGallery .rltbMaximizeButton,
    .RadImageGallery .rltbRestoreButton {
        display: none !important;
    }


    Regards,
    Viktor Tachev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top