cuteeditor in a panel causes "File does not exist" exception (.net 2.0)

  •  03-09-2006, 12:55 AM

    cuteeditor in a panel causes "File does not exist" exception (.net 2.0)

    Ok, I can recreate this error now. Here's what's happening. I have a page with a panel, a button and the cuteeditor on it. CE is in the panel. CE is in default config (I haven't changed anything in configs, just dropping a default CE in the panel.
     
    When page loads, panel is hidden. When I hit button panel is shown (along with CE). Hitting button again causes CE to be hidden. When CE panel is hidden for second time an exception occurs. This is what it looks like in the Immediate Window:
    {"File does not exist."}
    [System.Web.HttpException]: {"File does not exist."}
    Data: {System.Collections.ListDictionaryInternal}
    HelpLink: null
    InnerException: null
    Message: "File does not exist."
    Source: "System.Web"
    StackTrace: " at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)\r\n at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)\r\n at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)"
    TargetSite: {Void ProcessRequestInternal(System.Web.HttpContext)}

    The only issue that I can see is that the page holding the CE is in /admin/secure and the CE Client files are in /CuteSoft_Client. This still might be something I'm doing, but I don't see what it could be.
     
    Here's the code for the page load event.
       
    try
    {
        if (!Page.IsPostBack)
    { Panel1.Visible = false; }
    else
    { Panel1.Visible = !Panel1.Visible; }
     
    }//end try
    catch (Exception exc)
    {
       throw new ApplicationException("Error in page load.", exc);
    }// end catch
     
View Complete Thread