TelerikDeveloper.com

TelerikDeveloper.com

Telerik - allow selected columns to be editable

body header
Anchor directly to this post Joel 8/17/2011 5:09:35 PM

Here is a short code example of how to only allow selected columns in a Telerik grid to be editable

 

Anchor directly to this post Joel 8/17/2011 5:10:07 PM
Private Sub RadGridView1_CellBeginEdit(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles RadGridView1.CellBeginEdit
    Dim o As GridViewColumn = e.Column
    If o.Name <> "select" Then
        e.Cancel = True
    End If
End Sub
Unknown or N/A
.NET Development