Since updating to your guys latest dll's we appear to have a problem with the Image Manager within the RadEditor.
The image manager has a created date field built into it and this now appears to fall over since the last updates.
The following code is what is being implemented:
On both the .remove and .add of the grid column we are getting object reference errors. Are you guys aware of any issues or anything that may have changed surrounding this since the latest updates.
Thanks.
The image manager has a created date field built into it and this now appears to fall over since the last updates.
The following code is what is being implemented:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
_RadFileExplorer = CType(Me.FindRadControl(Me.Page), Telerik.Web.UI.RadFileExplorer)
If Not _RadFileExplorer Is Nothing Then
_RadFileExplorer.Configuration.ContentProviderTypeName = GetType(CustomColumnsContentProvider).AssemblyQualifiedName
AddHandler _RadFileExplorer.ExplorerPopulated, AddressOf RadFileExplorer_ExplorerPopulated
End If
'Add the created date column
AddGridColumn("Creation Date", "Created", True)
Dim splitter As RadSplitter = _RadFileExplorer.FindControl("splitter")
End Sub
Private Sub AddGridColumn(ByVal name As String, ByVal uniqueName As String, ByVal sortable As Boolean)
'remove first if grid has a column with that name
RemoveGridColumn(uniqueName)
' Add a new column with the specified name
Dim gridTemplateColumn1 As New GridTemplateColumn()
gridTemplateColumn1.HeaderText = name
If sortable Then
gridTemplateColumn1.SortExpression = uniqueName
End If
gridTemplateColumn1.UniqueName = uniqueName
gridTemplateColumn1.DataField = uniqueName
_RadFileExplorer.Grid.Columns.Add(gridTemplateColumn1)
End Sub
Private Sub RemoveGridColumn(ByVal uniqueName As String)
If Not [Object].Equals(_RadFileExplorer.Grid.Columns.FindByUniqueNameSafe(uniqueName), Nothing) Then
_RadFileExplorer.Grid.Columns.Remove(_RadFileExplorer.Grid.Columns.FindByUniqueNameSafe(uniqueName))
End If
End Sub
On both the .remove and .add of the grid column we are getting object reference errors. Are you guys aware of any issues or anything that may have changed surrounding this since the latest updates.
Thanks.