This is a migrated thread and some comments may be shown as answers.

Clicked item at times returns null eventhough the item is clicked in Rad Grid View

0 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chandan
Top achievements
Rank 1
Chandan asked on 23 Nov 2011, 09:28 AM
Hello,
 I have a grid view where i have displayed my results. I have a double click event by which i try to find the clicked item. But the clickedItem returns null at times. The same code gives porper clicked items most of the times, but once in a while it returns null for the clicked item. Many of my colleauges are facing similar difficulty with Grid View.

private

 

 

void RadGridViewMouseDoubleClick(object sender, MouseButtonEventArgs e)

 

{

 

 

if (radGridView.CurrentItem == null) return;
//
// some code
//

 

}

here the  ( radGridView.CurrentItem ) returns null at times, even though the current item details could be seen while debugging.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Chandan
Top achievements
Rank 1
Share this question
or