Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146388 | Aug 2,2019 06:55 AM UTC | Oct 16,2019 12:42 PM UTC | ASP.NET Web Forms | 7 |
![]() |
Tags: Ribbon |
<ej:ContentGroup Id="ButtonOpen" Text="Pictures" ToolTip="Pictures">
<ButtonSettings Type="Button" ContentType="TextAndImage" ImagePosition="ImageTop" PrefixIcon="e-icon e-ribbon e-picture" Click="executeAction" />
</ej:ContentGroup> |
//Global variables for Ribbbon component id and ButtonId
var ribbonComponentId, buttonId;
//Client side create event for Ribbon component
function createControl(args) {
ribbonComponentId = this.element[0].id;
buttonId = "ButtonOpen"
//Custom Button is a combination of Ribbon component id_Button component id
console.log(ribbonComponentId + "_" + buttonId);
} |
I am thinking of creating a custom ribbon and instead of inserting a button to run my macro, i want a button inside my custom ribbon. For example, "Generate Tables" Macro. I want to put that function in my custom ribbon tab as a button that the user can press (like pivot tables, chart, etc.) https://myip.kim/'
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.