Hi all,
We are in the process of converting from the older ASP.NET Telerik grid to the new grid for ASP.NET Ajax and we have run into some difficulties using the GroupExpanded/Collapsed client-side methods.
The old grid used to pass in the row that was expanded/collapsed and we could perform an ajax request to let the server know that about the change in state:
We are in the process of converting from the older ASP.NET Telerik grid to the new grid for ASP.NET Ajax and we have run into some difficulties using the GroupExpanded/Collapsed client-side methods.
The old grid used to pass in the row that was expanded/collapsed and we could perform an ajax request to let the server know that about the change in state:
function TaskGrid_GroupExpanded(row)
{
window[
"StartAjax"].AjaxRequest(row.Control.innerText);
}
The new code that we have created looks like this:
function TasksPortal_GroupExpanded(sender, eventArgs)
{
SessionWS.Set(
"TaskPortalExpandGroups", 'TaskPortalExpand~' + sender.Control.innerText);
return false;
}
According to the help documentation, the sender object should be the datarow. The problem is that the sender.Control.innerText statement returns the text for the entire grid and not just the current row.
Does anyone have any suggestions on how to accomplish this using the new grid?
Thanks for the help,
Greg