Hey,
I have a javascript function (below) that calls the RadGrid1_ItemCommand. In all instances in which there is any data currently in my radgrid the firecommand works perfectly. However, if there is no data in the grid yet the firecommand never reaches the RadGrid1_ItemCommand method. Can someone explain why this is the case? Any suggestions on how to make the fireCommand fire in instances in which there is not yet data in the grid?
Thanks for any insight! Winston
I have a javascript function (below) that calls the RadGrid1_ItemCommand. In all instances in which there is any data currently in my radgrid the firecommand works perfectly. However, if there is no data in the grid yet the firecommand never reaches the RadGrid1_ItemCommand method. Can someone explain why this is the case? Any suggestions on how to make the fireCommand fire in instances in which there is not yet data in the grid?
Thanks for any insight! Winston
function Insert()
{
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
masterTable.fireCommand(
"Insert","");
}