Hello All,
I have a column in the grid view with Checkboxes. Now my requirement is that i need to make some of the check boxes visible or invisible while binding the RadGridView. I am not able to figure out a way of doing it. Any help would be greatly appreciated.
''' <remarks></remarks>
Private Sub RadGridViewBrokenRuleMessages_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridViewBrokenRuleMessages.CellFormatting
If e.CellElement.ColumnIndex = 2 Then
If Me.RadGridViewBrokenRuleMessages.CurrentRow.Cells(0).Value.ToString().ToUpper(System.Globalization.CultureInfo.CurrentCulture) = "1" Then
e.CellElement.ColumnInfo.ReadOnly = True
Else
e.CellElement.ColumnInfo.ReadOnly = False
End If
End If
End Sub
Is it possible to do that in here. Also if you can tell me where to do that or some sample on where to do that would be very helpful.
I have a column in the grid view with Checkboxes. Now my requirement is that i need to make some of the check boxes visible or invisible while binding the RadGridView. I am not able to figure out a way of doing it. Any help would be greatly appreciated.
''' <remarks></remarks>
Private Sub RadGridViewBrokenRuleMessages_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridViewBrokenRuleMessages.CellFormatting
If e.CellElement.ColumnIndex = 2 Then
If Me.RadGridViewBrokenRuleMessages.CurrentRow.Cells(0).Value.ToString().ToUpper(System.Globalization.CultureInfo.CurrentCulture) = "1" Then
e.CellElement.ColumnInfo.ReadOnly = True
Else
e.CellElement.ColumnInfo.ReadOnly = False
End If
End If
End Sub
Is it possible to do that in here. Also if you can tell me where to do that or some sample on where to do that would be very helpful.