Hello i have a problem with toolbar and radgrid
im using a toolbar in commanditemtemplate and i have, new, edit, delete, and export buttons in the toolbar, my question is :
how i can detect from client javascript what button of toolbar has been clicked?
i have this code
function mngRequestStarted(ajaxManager, eventArgs) {
if (eventArgs.EventTarget == "radGridCajas$ctl00$ctl02$ctl00$radToolBarAcciones") {
eventArgs.EnableAjax = false;
}
}
but this code only detect when any button of toolbar has clicked
im using a toolbar in commanditemtemplate and i have, new, edit, delete, and export buttons in the toolbar, my question is :
how i can detect from client javascript what button of toolbar has been clicked?
i have this code
function mngRequestStarted(ajaxManager, eventArgs) {
if (eventArgs.EventTarget == "radGridCajas$ctl00$ctl02$ctl00$radToolBarAcciones") {
eventArgs.EnableAjax = false;
}
}
but this code only detect when any button of toolbar has clicked