Click here to Skip to main content
15,891,513 members
Articles / Programming Languages / C#

message box not displayed

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
15 Jan 2013CPOL 3.8K  
We have C# web application ,on button click event we do a data load process using stored procedure which runs for 3 hours,after the procedure finish loading we display a message box using codeScriptManager.RegisterStartupScript(this, this.GetType(), Guid.NewGuid().ToString(), scriptString,...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
16 Jan 2013fjdiewornncalwe
There is a large fundamental flaw in your application logic at play here. Web applications are really horrible at dealing with long running processes. In this case a 1 to 3 hour wait for response is ridiculous for a web app. When running a long process like this, you should be firing off a...
Please Sign up or sign in to vote.
16 Jan 2013bbirajdar
You missed the important lesson during your asp.net web development course. ScriptManager.RegisterStartupScript is for 'registering' the javascript method on the page and is NOT for 'calling/executing' a method.Read...
Please Sign up or sign in to vote.
16 Jan 2013Tharaka MTR
I think this happen because of the request timeout. most probably your web site set request timeout for 1hr.Because of the timeout response will not getting to the page. (registers script will not rendering)please check the web.config file following section and modify accordingly ...

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions