Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all

i am using ajax update progress bar when importing records from excel to sql table.
and after upload it redirect to another page.

but when the execution time is less than 4 minutes it redirect properly.
but after 4 minutes it execute the code to redirect but not redirect to next page.


thanks...
Posted
Comments
Manfred Rudolf Bihy 12-May-11 9:52am    
Feel free to elaborate!
Under what circumstances does this happen?
Can we see some code?
Know anything about debugging yet?
Sharma Richa 13-May-11 4:19am    
i have to upload millions of records to sql table from sql.
and it can take 10 t0 15 minutes too.
i added update progress bar when it upload records.
and after upload it redict to another page.
But Problem is that when i upload a small file which take 3-4 minutes it works fine and redirect to next page.

but when i upload a large file then it upload all the records but not redirect to next page.
I check it by placing break points in my code.
the break point goes to the code line
Response.Redirect("pagename");
but it doesn't work.
Manfred Rudolf Bihy 13-May-11 13:04pm    
Your problem could be most likely related to a session timeout. Have you looked into that?
Sharma Richa 14-May-11 4:43am    
no it is not because of session timeout because i am not using session
Sandeep Mewara 12-May-11 9:54am    
Lacks lot of info...

1 solution

<cc1:updateprogress id="progress1" runat="server" xmlns:cc1="#unknown">
        <progresstemplate>   
            <div class="progress">
                <img src="indicator.gif" /> 
                Please Wait...
            </div>     
        </progresstemplate>
    </cc1:updateprogress>



Or see here,-
http://weblogs.asp.net/scottgu/archive/2006/09/21/Tip_2F00_Trick_3A00_-UpdateProgress-Control-and-AJAX-Activity-Image-Animations.aspx[^]

Hope This can help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900