Using InsertImage dialog without displaying the editor

  •  08-22-2005, 5:09 AM

    Using InsertImage dialog without displaying the editor

    Hi,

    I'm trying to figure out how to use the CuteEditor Insert Image dialog on a page that doesn't use the editor. I've seen a few posts that touched on this issue, but no definitive answer. Can anyone help please?
     
    I'm using javascript like:
     
    var url=showModalDialog("../CuteSoft_Client/CuteEditor/Dialogs/InsertImage.aspx?settinghash=&<%=Editor1.Setting.GetHashString()%>", "Image Manager","dialogWidth:670px;dialogHeight:650px");
    if(url)
    {
        ...
    }
     
    In my Page_Load I instantiate a protected Editor variable to allow the embedded ASP code to be resolved. But then I get a ASP.NET "Setting not found" error when the dialog opens.
     
    If anyone has the answer to the above, I'd be very grateful.
     
    Paul

    Paul Taylor
    Dotcom Software Solutions
View Complete Thread