Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Way for user to see progress on long running asp.net process
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Thomas Hansen, post: 1992525"] First of all you must use some sort of Ajax to solve this. The way I would have done this (using Gaia Ajax Widgets at http:// ajaxwidgets.com) is by: First have a gaia:Button which when clicked would trigger my server side event handler. Then within that event handler I'd create a new thread that oes the working. Then I'd have a gaia:Timer which I would ENABLE in that same event handler, maybe poll every 3 seconds or something... Then within the "tick" event handler for my timer I'd update another gaia component, maye a label or maybe a gaia:DynamicImage or something according to how many percent the long task had come... Now if you want to make it REALLY cool you'd have your "percentage bar/ label/whatever" in a modal gaia:Window which then would obscur the other controls you have on your page and forcing the user to actually wait for the process to finish before he can interact with any of the other controls on your page... Gaia is downloadable for free (no restrictions at all) at http:// ajaxwidgets.com Though the free version forces a VERY small link in the upper right corner of all the pages you stuff Gaia controls onto... Regarding using threads in web apps, I think there's no problem... I believe the only reason people have "shielded" themselfs from using them is that before Ajax there really was no POINT in doing it... Though I think the max limit of threads pr. process for Windows Server 2003 is 32000 or 64000 or something... If you expect to get more than 16000 simultanous users using that logic I think you'll have to fill in with more iron... ..t [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Way for user to see progress on long running asp.net process
Top