Rad Editor Managers Not Working

2 posts, 0 answers
  1. Peter Ivanov
    Peter Ivanov avatar
    6 posts
    Member since:
    Oct 2009

    Posted 19 Oct 2011 Link to this post


    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?
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 21 Oct 2011 Link to this post

    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,
    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
Back to Top