Re: Custom File Storage for images and files

  •  07-18-2006, 11:24 AM

    Re: Custom File Storage for images and files

    I am now trying to use the custom button to open an aspx page to mimic the behaviour of insert file dialog.  However, whenever there is a postback happening on the aspx page, it is opening a new window and try to do the postback in the new window, which fails.
     
    I am using the javascript function to open the dialog:
     
    function ShowMyDialog(button) { //use CuteEditor_GetEditor(elementinsidetheEditor) to get the cute editor instance var editor=CuteEditor_GetEditor(button); //show the dialog page , and pass the editor as newwin.dialogArguments var newwin=showModalDialog("DocumentSelectionPage.aspx" ,editor,""); }
     
    Can anyone let me know how I can make the post back works?
     
    Thanks,
     
    Richard
View Complete Thread