Hi
I am developing winform project in vb.net sometime i checked answers in forum written in c# but same sample does not work in vb.net
Now i am facing problem radgridview cellvaluechanged in master detail scenario
C#
private void radGridView1_CellValueChanged(object sender, GridViewCellEventArgs e)
{
if (e.Column.OwnerTemplate != radGridView1.MasterTemplate && e.ColumnIndex == 3)
{
EvaluateTotal((GridViewRowInfo)e.Row.Parent);
}
}
vb.net
Private Sub rdgvPendingRpt_CellValueChanged(sender As Object, e As GridViewCellEventArgs) Handles rdgvPendingRpt.CellValueChanged
If e.ColumnIndex = 3 AndAlso e.Column.OwnerTemplate <> rdgvPendingRpt Then
EvaluateTotal(CType(e.Row.Parent, GridViewRowInfo))
End If
End Sub
Error Operator '<>' is not defined for types 'GridViewTemplate' and 'RadGridView'.
it giving me error in above line. I am attaching screenshot for same.
Kindly do the needful
Regards
Nandan Navale