Hi,
I'm trying to set the upload,view and delte paths in code but keep on encountering errors.
The error is the old 'Object reference not set to an instance of an object.'
The strange thing is I'm testing using code copied directly from the Help file example yet I still get the error
See below :
Does anyone have any ideas ?
I'm trying to set the upload,view and delte paths in code but keep on encountering errors.
The error is the old 'Object reference not set to an instance of an object.'
The strange thing is I'm testing using code copied directly from the Help file example yet I still get the error
See below :
| Imports Telerik.Web.UI |
| Partial Public Class blogsa |
| Inherits System.Web.UI.MasterPage |
| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| Dim viewImages As String() = New String() {"~/Images"} |
| Dim uploadImages As String() = New String() {"~/Images/New"} |
| Dim deleteImages As String() = New String() {"~/Images/New/Articles", "~/Images/New/News"} |
| If Not IsPostBack Then |
| RadEditor1.ImageManager.ViewPaths = viewImages |
| RadEditor1.ImageManager.UploadPaths = uploadImages |
| RadEditor1.ImageManager.DeletePaths = deleteImages |
| End If |
| End Sub |
| End Class |
Does anyone have any ideas ?