Hi,
In my RadGrid, I have a Custom RadToolbar for implement my actions. Inside this toolbar I have a RadButton
My Toolbar implement the OnClientButtonClicked attribute who calling a JS function with this code
In my RadGrid, I have a Custom RadToolbar for implement my actions. Inside this toolbar I have a RadButton
<
telerik:RadToolBarButton
Text="<%$ Resources:AdminLoc, btnAddDailyEquipment %>"
ImageUrl="~/Web/Images/Icons/ress_equipement.gif"
Group="DailyEquipment" CommandName="AddDailyResource" CommandArgument="DailyEquipment"
Value="DailyEquipment" Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>">
My Toolbar implement the OnClientButtonClicked attribute who calling a JS function with this code
case
"AddDailyResource"
:<br> $find(
'<%= RgPanelSummary.ClientID%>'
).get_masterTableView().fireCommand(args.get_item().get_commandName(), argument);<br>
break
;
If I have more than one element in my grid. The server-side ItemCommand is fired
But my problem occuring when I have no data in my RadGrid. The server-side called the ItemDataBound (RadGrid), the PageLoad, PageRender, etc. But the ItemCommand is never called. I have this problem for each custom action "Print, DailyEquipement". But If I using a default Radgrid action (DeletedSelected, InitInsert) the ItemCommand is called.
Can I resolve my problem? And If Yes how ?
Thank you and have a good day