Completed
Last Updated: 15 Jan 2025 07:56 by ADMIN
Jorge
Created on: 28 Jul 2015 16:37
Category: ImageGallery
Type: Feature Request
2
RadImageGallery add new buttons in the toolbar
I like to add my own buttons in the toolbar, for example to open new Windows, add more text to the description, specify if I like or dislike the picture.
3 comments
ADMIN
Rumen
Posted on: 15 Jan 2025 07:56

Hi Jibin,

The link I provided used to point to a code library, but during our migration from code libraries to our knowledge base section in the docs, we kept only the most popular ones, so unfortunately this solution isn't available anymore.

However, the original example was based on this approach:

        <telerik:RadMediaPlayer RenderMode="Lightweight" ID="RadMediaPlayer1" runat="server" AutoPlay="true"
            Height="360px" Width="640px">
            <PlaylistSettings YouTubePlaylist="PLvmaC-XMqeBZWVHkPVGi6Q43J-nGQxUPw" Mode="Buttons" ButtonsTrigger="MouseDown" />
        </telerik:RadMediaPlayer>
        <asp:ImageButton runat="server" ID="ImageButton1" ImageUrl="~/Common/Images/logo.png"  Width="20px" Height="20px" BorderStyle="Dotted" BorderWidth="1"/>
        <script>
            function pageLoad(app, args) {
                $(".rmpRightControlsSet").append($get('<%= ImageButton1.ClientID %>'));
            }
        </script>

This script appends a custom button (ImageButton1) to the right controls of the RadMediaPlayer.

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Jibin
Posted on: 15 Jan 2025 04:53
Hi Rumen, the link which you gave isn't working properly can you repair that link?
ADMIN
Rumen
Posted on: 10 Jun 2021 18:35

Hi Jorge,

You can use as a base the solution provided in this code library - https://www.telerik.com/support/code-library/add-print-and-save-buttons-in-radimagegallery-toolbar

 

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.