This question is locked. New answers and comments are not allowed.
Hi All,
I'm having one image template column in gridview. Gridview has a selection changed event.
When user clicks on any image in image template column. that time gridview selection changed event is firing.
In that case i want avoid gridview selection event call.
Somehow i'm trying to avoid that event for those two template columns in grid but its not working perfectly.
Check the below code.
Please find attached screenshot for more information.
Thanks & Regards
Rahul
I'm having one image template column in gridview. Gridview has a selection changed event.
When user clicks on any image in image template column. that time gridview selection changed event is firing.
In that case i want avoid gridview selection event call.
Somehow i'm trying to avoid that event for those two template columns in grid but its not working perfectly.
Check the below code.
private void radGridTaskBundles_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e) { if ((((Telerik.Windows.Controls.GridView.GridViewDataControl)(e.OriginalSource)).CurrentColumn) != null) { if (((((Telerik.Windows.Controls.GridView.GridViewDataControl)(e.OriginalSource)).CurrentColumn).Header).ToString() != "Diseases") { if (((((Telerik.Windows.Controls.GridView.GridViewDataControl)(e.OriginalSource)).CurrentColumn).Header).ToString() != "Measures") { // MessageBox.Show("Row Selected"); } else return; } else return; }Please find attached screenshot for more information.
Thanks & Regards
Rahul