i need to disable Gridbuttoncolumn where my value=0 if my value =1 Gridbuttoncolumn still show i try to use this code
For i = 0 To dt.Rows.Count - 1
Dim dd As String = dt.Rows(i).Item("StatusCode").ToString
If dd <> "0" Then
RadGrid1.MasterTableView.Columns.FindByUniqueName("Accept").Visible = False
End If
Next
but if dd <> 0 on the last of row button name "Accept" will be not show all of row
For i = 0 To dt.Rows.Count - 1
Dim dd As String = dt.Rows(i).Item("StatusCode").ToString
If dd <> "0" Then
RadGrid1.MasterTableView.Columns.FindByUniqueName("Accept").Visible = False
End If
Next
but if dd <> 0 on the last of row button name "Accept" will be not show all of row