This is a migrated thread and some comments may be shown as answers.

Rad Editor Managers Not Working

1 Answer 58 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Peter Ivanov
Top achievements
Rank 2
Peter Ivanov asked on 19 Oct 2011, 09:26 AM
Hi,

I've been using the Telerik toolkit with great ease since 2009 with that year's release. We have recently had to upgrade to the new toolkit and the manager (Images, documents and flash are the main ones I use.) stopped working. I would usually set the manager's folders from code, and I use this in a centralized admin for about several websites. The code looks like this:
             
Dim sUpldPath As String = "~/Admin/Uploads/" & sWebsiteName & "/"

Dim sImg() As String = {sUpldPath & "images"}
Dim sFls() As String = {sUpldPath & "flash"}
Dim sDoc() As String = {sUpldPath & "documents"}

RadEditor1.ImageManager.DeletePaths = sImg
RadEditor1.ImageManager.ViewPaths = sImg
RadEditor1.ImageManager.UploadPaths = sImg

RadEditor1.FlashManager.DeletePaths = sFls
RadEditor1.FlashManager.ViewPaths = sFls
RadEditor1.FlashManager.UploadPaths = sFls

RadEditor1.DocumentManager.DeletePaths = sDoc
RadEditor1.DocumentManager.ViewPaths = sDoc
RadEditor1.DocumentManager.UploadPaths = sDoc

For the most part this works, in the new and old control kit, but when the sWebsite name contains a space e.g. sWebsiteName = "Website ABC" then it doesn't work in the new control kit. Any suggestions as to how to fix that?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 21 Oct 2011, 01:28 PM
Hi Peter,

We are not aware of such problem and you are the first one to report it. I tried to reproduce it using the latest version of RadControls (Q2 2011 SP1) but to no avail. Could you please provide more detailed information on the specific scenario?
  • With which version of RadControls for ASP.NET AJAX do you experience this problem. If you are not using the latest version, could you please try to upgrade to it and see if the problem still exists?
  • Are there any JavaScript errors thrown during the page load or when the dialog is loaded? If so, could you please provide the detailed error message that you receive?
  • Could you please provide a sample fully runnable project reproducing the problem so we can examine and debug it locally? For your convenience I have attached my test page, could you please modify it to a point where the problem occurs and send it back?

All the best,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Peter Ivanov
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Share this question
or