Hi,
I want to do some custom adjustments when a user uses the grouping function in radgrid. Now my real problem is catching the event that should happen when you use the grouping and I can't seem to get it. From reading I thought that the grid would always use a ItemCommand and that you could simply use:
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
if (e.CommandName == "RowClick")
{
// Do something
}
}
And simply change the "RowClick" with what ever the name might be of a grouping so I just put a breakpoint there and tested it but I never stopped there. My grid is called RadGrid1 so that shouldn't be a problem, do I need todo something else to make the grid throw out events?
Also any links to where I can read up more would be great, but I've been trying to read on all the helps and API's I can find and they just don't do it, I can't seem to understand or get it right.
I want to do some custom adjustments when a user uses the grouping function in radgrid. Now my real problem is catching the event that should happen when you use the grouping and I can't seem to get it. From reading I thought that the grid would always use a ItemCommand and that you could simply use:
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
if (e.CommandName == "RowClick")
{
// Do something
}
}
And simply change the "RowClick" with what ever the name might be of a grouping so I just put a breakpoint there and tested it but I never stopped there. My grid is called RadGrid1 so that shouldn't be a problem, do I need todo something else to make the grid throw out events?
Also any links to where I can read up more would be great, but I've been trying to read on all the helps and API's I can find and they just don't do it, I can't seem to understand or get it right.