Problem with Image Uploading

Last post 01-29-2006, 2:21 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-28-2005, 10:16 AM 13137

    Problem with Image Uploading

    Hi,
     
    I am facing a problem while uploading images with Cute Editor. Whenever I upload an image the "Uploading..." text does not go away.



    But if I close the window and then again try to upload the image, the image that I was uploading earlier is there. The "uploading..." text remains there all the time while uploading until I close the window. What could be the problem here?

    Below is the code that I am using
     


    I guess some problem with image display here so I will put my code here.

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    'Put user code to initialize the page here

     

    CuteEditor.SecurityPolicyFile = "Default.config"

    Dim MyPath As String

    MyPath = "~/Resources/Buttons/1/"

    SetUploadsFolder(MyPath)

    End Sub

    Sub SetUploadsFolder(ByVal folderString As String)

    Dim phyfolder As String

     

    phyfolder = Server.MapPath("../Resources/Buttons/1/")

    If (System.IO.Directory.Exists(phyfolder)) Then

    Else

    System.IO.Directory.CreateDirectory(phyfolder)

    End If

    CuteEditor.Setting("security:ImageGalleryPath") = folderString

    End Sub


    Thanks in advance.
     
  •  01-29-2006, 2:21 AM 15297 in reply to 13137

    Re: Problem with Image Uploading

    Please check the file names in that folder. Maybe the invalid file names caused the problems.
     
    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML