4 Answers, 1 is accepted
0
Accepted
Hello Prabhakaran,
Could you please try the following approach?
mark-up:
JavaScript:
I hope this will prove helpful. Please give it a try and let me know about the result.
Greetings,
Eyup
the Telerik team
Could you please try the following approach?
mark-up:
<
telerik:RadGrid
...
onmouseup
=
"gridClicked(this,event)"
>
<
ClientSettings
AllowDragToGroup
=
"True"
>
<
ClientEvents
OnGroupCollapsing
=
"groupCollapsing"
/>
...
var
text =
""
;
function
gridClicked(grid, event) {
if
(event.target.className ==
"rgCollapse"
) {
text = event.target.parentElement.nextElementSibling.textContent;
}
}
function
groupCollapsing(sender, args) {
alert(text +
" collapsing"
);
}
I hope this will prove helpful. Please give it a try and let me know about the result.
Greetings,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

Prab
Top achievements
Rank 1
answered on 03 Oct 2012, 05:15 AM
Thank you so much...
0

Warren
Top achievements
Rank 1
answered on 26 Apr 2014, 03:25 AM
How do you get the header text of a group on the server side when you click it?
Thanks!
Thanks!
0
Hello Warren,
I have created a sample RadGrid web site to demonstrate how you can achieve the requested functionality. Please run the attached sample and let me know if it helps you.
Regards,
Eyup
Telerik
I have created a sample RadGrid web site to demonstrate how you can achieve the requested functionality. Please run the attached sample and let me know if it helps you.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.