Unplanned
Last Updated: 12 Sep 2022 11:19 by ADMIN
Emil
Created on: 11 Dec 2019 12:30
Category: Grid
Type: Feature Request
5
Custom GridCommandButton CommandName to be passed to the event handler

Trying the custom GridCommandButtons. When recieving the event, the CommandName of  the GridCommandEventArgs is always null. Shouldn't this be the name of the command I specified on the command?

 Explore you example at
https://docs.telerik.com/blazor-ui/components/grid/toolbar#custom-commands

 When private void MyCommandFromToolbar(GridCommandEventArgs args) is triggered, I expect the command name to be MyToolbarCommand

3 comments
ADMIN
Nadezhda Tacheva
Posted on: 12 Sep 2022 11:19

Hi Paul,

Thank you for your feedback! I see you already voted for the item - the gathered community votes are an important metric that we keep track of in order to prioritize the component enhancements. You may as well follow the request to get status updates.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Paul Wood
Posted on: 06 Sep 2022 02:41
Would be very helpful to have access to the custom CommandName where you want to point to an event handler that does different things depending on the Event. This was a staple of old WebForms implementations using Telerik, I was very surprised to see it not come through when the documentation explicitly mentions that you can add your own custom Command Name on the button
ADMIN
Marin Bratanov
Posted on: 11 Dec 2019 12:54

Hi Emil,

At the moment the custom command is more of flavor for the developer, we use it only internally to capture the built-in commands.

I moved this ticket to the public forums to see what feedback we get from the community about this. Here's a link you can Follow: https://feedback.telerik.com/blazor/1445764-custom-gridcommandbutton-commandname-to-be-passed-to-the-event-handler

At the moment, the event arguments don't have a field for a command and they don't carry it over, the different handler is the way to differentiate one command from the other.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor