How can I tell where I have clicked on a Telerik Winform gridview?
I am clicking on the scrollbar on the Telerik gridview (sorry Telerik but your online help is not the best) and I want to know where the user has clicked so I can respond appropriately for example if the user clicks on the scroll bar 开发者_运维知识库or headers then I wont look up a row value etc
thanks
It's in the help, we also have online support for these kind of stuff.
I am taking for example RadRichBox, but it works for any other control.
this.radRichTextBox1.MouseClick += radRichTextBox1_MouseClick;
private void radRichTextBox1_MouseClick(object sender, MouseEventArgs e)
{
RadMessageBox.Show(e.Location.ToString());
}
精彩评论