Hello Barkha,
You could try subscribing for the MouseDown event of the FillPrimitive in a group's caption in the following way:
protected override void OnLoad(EventArgs e) |
{ |
base.OnLoad(e); |
|
ClassSelector captionFillSelector = new ClassSelector("GroupCaptionFill"); |
FillPrimitive captionFill = captionFillSelector.GetSelectedElements( |
this.radPanelBarGroupElement1)[0] as FillPrimitive; |
|
captionFill.MouseDown += new MouseEventHandler(captionButton_MouseDown); |
} |
|
void captionButton_MouseDown(object sender, MouseEventArgs e) |
{ |
MessageBox.Show("Mouse Down"); |
} |
If you do not want to be notified when the user clicks on a group's caption but on the group content panel, you could try handling the MouseDown event of that group. However this approach might or might not work depending of the content of the group.
Contact us again, if you need any further assistance.
All the best,
Jordan
the Telerik team