Problem with Image Uploading

  •  11-28-2005, 10:16 AM

    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.
     
View Complete Thread