Hi,
i hav a radgridview and a gridviewcheckboxcolumn in it.
when i click on checkbox why cell click event if not fired for checkbox.
or what is the other way to handle this checkbox checked event in gridview.
currently i am using Mouse Click event but there is one problem with it
i hav a radgridview and a gridviewcheckboxcolumn in it.
when i click on checkbox why cell click event if not fired for checkbox.
or what is the other way to handle this checkbox checked event in gridview.
currently i am using Mouse Click event but there is one problem with it
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