I have a HTMLEditorExtender with AjaxFileUpload toolbar in it.
the AjaxFileUpload works OK with this URI "www.aaabbbccc.com/default.aspx",
but it fails with this URI "www.aaabbbccc.com/default.aspx?id=1",(with query string in it)
After debugging, I found when I uploaded a file, it will send a request to server with a URI like this:
www.aaabbbccc.com/default.aspx?id=1?contextkey=D4A4555AA111.
Do you see anything error? two "?" in the query string. that means the "id" is "1?contextkey=D4A4555AA111", and no "contextkey" will be got on the server side.
This is just a clue for you to fix the issue, but I don't know the root cause.
The detailed behavior is:
when I select a image and click "upload", it says there is an error on the "upload" page.
the ImageUploadComplete event is not triggered.
debugger told me "Argument null error" in javascript and don't the detailed error.
Comments: hello, u can try "session"!!! i solved the problem by "session"! it can work! try it~
the AjaxFileUpload works OK with this URI "www.aaabbbccc.com/default.aspx",
but it fails with this URI "www.aaabbbccc.com/default.aspx?id=1",(with query string in it)
After debugging, I found when I uploaded a file, it will send a request to server with a URI like this:
www.aaabbbccc.com/default.aspx?id=1?contextkey=D4A4555AA111.
Do you see anything error? two "?" in the query string. that means the "id" is "1?contextkey=D4A4555AA111", and no "contextkey" will be got on the server side.
This is just a clue for you to fix the issue, but I don't know the root cause.
The detailed behavior is:
when I select a image and click "upload", it says there is an error on the "upload" page.
the ImageUploadComplete event is not triggered.
debugger told me "Argument null error" in javascript and don't the detailed error.
Comments: hello, u can try "session"!!! i solved the problem by "session"! it can work! try it~