Customize "Upload" button behavior in Insert Image dialog box

  •  11-23-2011, 1:25 PM

    Customize "Upload" button behavior in Insert Image dialog box

    Hi,
     
    We are using CuteEditor.net6.6. I need to modify the onclick behavior for "Upload" button.
     
    When a user clicks a "Upload" button in "Insert Image" dialog box, the following should happen:
    1) normal upload as what the "upload" button is doing now. (It works well now.)
    2) change the upload file name to a different name.
    3) add the upload file to a DB.
     
    Is there a way to achieve this? There are a few functions in InsertImage.aspx, but I am not sure which one to use since I don't have the .js file or the code behind.
     
    Thanks, Qian 
    Filed under:
View Complete Thread