Re: File Upload in custom dialog

  •  02-24-2011, 12:53 PM

    Re: File Upload in custom dialog

    sorry it is not working, When I call the page "InsertIage.aspx" from my page, I see an error- System.Exception: can't not find querystring 'setting' from request! . I have a button and onclick of it to invoke the javascript - window.open('../CuteSoft_Client/CuteEditor/Dialogs/InsertFile.aspx' , 'Insert Files', 'width=845,height=440,directories=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,resizable=yes');
     
     
    Here is the detailed error -
     

    can't not find querystring 'setting' from request!

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: can't not find querystring 'setting' from request!

    Source Error:

    Line 13: 		}
    Line 14: 	}
    Line 15: 	base.OnInit(args);
    Line 16: 	
    Line 17: 	InputFile.ValidateOption.MaxSizeKB=secset.MaxImageSize;

    Source File: d:\PathXL\pathxlspring\trunk\CuteSoft_Client\CuteEditor\Dialogs\InsertFile.aspx    Line: 15

    Stack Trace:

    [Exception: can't not find querystring 'setting' from request!]
       CuteEditor.Impl.EditorProvider.LoadSecurity() +119
       CuteEditor.Dialogs.FileBrowserPage.OnInit(EventArgs e) +196
       ASP.cutesoft_client_cuteeditor_dialogs_insertfile_aspx.OnInit(EventArgs args) in d:\PathXL\pathxlspring\trunk\CuteSoft_Client\CuteEditor\Dialogs\InsertFile.aspx:15
       System.Web.UI.Control.InitRecursive(Control namingContainer) +333
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
    
View Complete Thread