Hi,
I am porting my code over from a standard silverlight gridview to the telerik one and i realized the the leftbuttondown event does not trigger any of my code on the c# side.
I searched on your forum and it seems to be a old problem, but even after tryign some of the solutions it still doesnt work. what i have right now is:
I am porting my code over from a standard silverlight gridview to the telerik one and i realized the the leftbuttondown event does not trigger any of my code on the c# side.
I searched on your forum and it seems to be a old problem, but even after tryign some of the solutions it still doesnt work. what i have right now is:
<
telerik:RadGridView
x:Name
=
"dataGrid1"
GroupRenderMode
=
"Flat"
Opacity
=
".85"
Margin
=
"3,27,0,12"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
IsReadOnly
=
"True"
MouseLeftButtonDown
=
"dataGrid1_Click"
AutoGenerateColumns
=
"True"
Height
=
"207"
CanUserFreezeColumns
=
"True"
RowIndicatorVisibility
=
"Collapsed"
CanUserResizeColumns
=
"True"
Width
=
"828"
>
</
telerik:RadGridView
>
//c#:
this.dataGrid1.AddHandler(FrameworkElement.MouseLeftButtonDownEvent, new System.Windows.Input.MouseButtonEventHandler(dataGrid1_Click), true);
...
void dataGrid1_Click(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
//my code here
}