Hi:
I have a hierarchical radgrid which I'm capturing some client events and all of them other than expand/collapse are working ok. Child data is loading ok too, through RadAjaxManager object. The only problem is that expand/collapse events are not being fired. Could someone post the right code to hook-up these events??? This is what I'm doing:
in the rad grid client settings:
<ClientSettings Scrolling-AllowScroll="false" Selecting-AllowRowSelect="true" AllowExpandCollapse="true"
ClientEvents-OnRowSelecting="rgCon_OnRowSelecting"
ClientEvents-OnRowSelected="rgCon_OnRowSelected"
ClientEvents-OnRowDeselected="rgCon_OnRowDeselected"
ClientEvents-OnHierarchyExpanded="rgCon_OnHierarchyExpanded"
ClientEvents-OnHierarchyCollapsed="rgCon_OnHierarchyCollapsed">
</ClientSettings>
in the javascript file:
rgCon_OnRowSelecting: function(sender, args){
alert(1);
},
rgCon_OnRowSelected: function(sender, args){
alert(2);
},
rgCon_OnRowDeselected: function(sender, args){
alert(3);
},
rgCon_OnHierarchyExpanded: function(sender, args){
alert(4);//not firing
},
rgCon_OnHierarchyCollapsed: function(sender, args){
alert(5);//not firing
},
thanks in advance
I have a hierarchical radgrid which I'm capturing some client events and all of them other than expand/collapse are working ok. Child data is loading ok too, through RadAjaxManager object. The only problem is that expand/collapse events are not being fired. Could someone post the right code to hook-up these events??? This is what I'm doing:
in the rad grid client settings:
<ClientSettings Scrolling-AllowScroll="false" Selecting-AllowRowSelect="true" AllowExpandCollapse="true"
ClientEvents-OnRowSelecting="rgCon_OnRowSelecting"
ClientEvents-OnRowSelected="rgCon_OnRowSelected"
ClientEvents-OnRowDeselected="rgCon_OnRowDeselected"
ClientEvents-OnHierarchyExpanded="rgCon_OnHierarchyExpanded"
ClientEvents-OnHierarchyCollapsed="rgCon_OnHierarchyCollapsed">
</ClientSettings>
in the javascript file:
rgCon_OnRowSelecting: function(sender, args){
alert(1);
},
rgCon_OnRowSelected: function(sender, args){
alert(2);
},
rgCon_OnRowDeselected: function(sender, args){
alert(3);
},
rgCon_OnHierarchyExpanded: function(sender, args){
alert(4);//not firing
},
rgCon_OnHierarchyCollapsed: function(sender, args){
alert(5);//not firing
},
thanks in advance