Hello,
I use toolbar as a control inside CommandItemTemplate for RadGrid. One of buttons has CommandName="DeleteSelected". I can select rows only from clientside. How do I pass row IDs to CommandArgument from clientside?
That's how I use the button:
Thank you
I use toolbar as a control inside CommandItemTemplate for RadGrid. One of buttons has CommandName="DeleteSelected". I can select rows only from clientside. How do I pass row IDs to CommandArgument from clientside?
That's how I use the button:
<telerik:RadToolBarButton runat="server" ImageUrl="~/images/btnDel.png" Value="delete" CommandName="DeleteSelected" Enabled="false"/>
function ToolbarClientButtonClicking(sender, args) { if (args.get_item().get_value() == "delete") { args.set_cancel(!confirm("Delete selected rows?")); return; }Is there a way to add custom arguments to command from clientside before postback and ItemCommand event?
Thank you