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

Remove button "Maximize Image"

3 Answers 61 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
Support
Top achievements
Rank 2
Support asked on 30 Jun 2016, 11:40 AM

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

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

 

Thanks in advanced.

3 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 05 Jul 2016, 07:04 AM
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.
0
Support
Top achievements
Rank 2
answered on 05 Jul 2016, 07:28 AM
Hi, thanks for the reply.
In this way, however, also hides the "Close" button.
0
Viktor Tachev
Telerik team
answered on 06 Jul 2016, 11:39 AM
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.
Tags
ImageGallery
Asked by
Support
Top achievements
Rank 2
Answers by
Viktor Tachev
Telerik team
Support
Top achievements
Rank 2
Share this question
or