or
Private
Sub
gridViewHome_MouseClick(
ByVal
sender
As
System.
Object
,
ByVal
e
As
System.Windows.Forms.MouseEventArgs)
Handles
gridViewHome.MouseClick
Dim
element
As
RadElement =
Me
.gridViewHome.ElementTree.GetElementAtPoint(e.Location)
If
TypeOf
element
Is
RadCheckmark
Then
If
(IsNothing(gridViewHome.Rows(gridViewHome.CurrentRow.Index).Cells(
"User"
).Value))
Then
RadMessageBox.Show(
"Task Cannot Assign/UnAssign if the task"
,
"Cannot Assign/UnAssign Task"
, MessageBoxButtons.OK, RadMessageIcon.Info)
End
If
End
If
End
Sub
when i click on the checkbox the mouse click event is fired and message box is also shown and after that when i click on Ok Button of Mesaage Box. the CheckBox is "Checked"
i dont this the Checked if the condition is satisfied.
please suggest.
Thanks