I would like to change the file manager code to hide the "Write To Folder" column in the permissions grid of the file manager. I would also like to change the name of the "View Folder" column header. If I mod the code behind (beloto check the column count, I get an "object reference not set to an instance of an object". How can I hide this column?
Private Sub GeneratePermissionsGrid()
Dim folderPath As String = FileSystemUtils.StripFolderPath(DestPath).Replace("\", "/")
dgPermissions.FolderPath = folderPath & "/"
If Not IsHostMenu Then
dgPermissions.DataBind() 'this point is not missed
End If
'test mod
Dim intTemp As Int32
intTemp = dgPermissions.Columns.Count 'throws error "object reference not set to an instance of an object"