Dear all,
First of all, sorry for my english. I'm french !
I have developped an ASP.Net 2.0 web application. It allows to get data from 2 databases and merge them into a "csv" file. When the user presses the button Process, the execution can take several minutes to accomplish. Because file's size could be large, I used the recommended method of Microsofthttp://support.microsoft.com/kb/812406/en-us.
Thus, I wanted to use a method giving informations to the end user about the current process. I found the Ajax libraries, ie the updateprogress control which appears to be powerful. I installed the 1.0 version and add the references to the project. Everything works fine for the different examples giving in the tutorials.
Hence, I applied these methods on the page and executed the project. I got error messages on the client side when the user clicks on the button Process. Is there someone who has an idea ?
This the error message :
Thank you for your help.
Best regards
Antony
If you reviewe the text of the error message, I think you'll find one of the suggestions is correct.
David Anson:
If you reviewe the text of the error message, I think you'll find one of the suggestions is correct.
Indeed, you're right, because I do not use Response.Write or something else equivalent. Otherwise, I don't how to bypass or use something diffferent... Thus, could you help me ?
I'm beginner in ASP.Net.
Best regards,
Antony
Does anybody have an idea?
Best regards,
Antony
So you're using the first method described in the link you provided but not Response.Write? What are you using then because thats whats in the article?
I made a mistake in my answer, I'd write "I should not use "Response.Write" instead of "I do not".
I effectively use the method provided by microsoft for dowloading udge files. However, it gives me the error when I use with ajax controls as updateprogress.
Antony
Thanks to the utility Web Development Helper, which allows you to get information that are posted back and received from the server, I found that only some partial part of the page was sent to the client in html code. Thus, I did not do it but I think that if you send via the Response.Write, a link to the files recorded on the server, thus, it would work and allows you to download files with Ajax.
If someone has the time to try. When I'll get some, I'll try myself.
Antony
No comments:
Post a Comment