Hi,
I have two long-loading asp:panels on a page with lots of ajax controls interactions.
When the page load completes I add two ajax requests to the ajaxmanager queue so the user can interact with the page without being held up.
What I want to do is if the user interacts, make their ajax request 'jump the queue' and get processed before the two long-loading ajax requests are complete. Once the user's request is complete, continue with the queue.
Is this possible? I see ClientEvents-OnRequestStart can eventArgs.set_cancel(true), but this will also cancel the user's request so it won't work.
I have lots of controls on this page within grids, treeview, buttons, links, so it isn't practical to have all of these change to call a javascript function that eventArgs.set_cancel(true) and then raises an onclick() or similar.
Do you have a solution?
Thanks, Dan
I have two long-loading asp:panels on a page with lots of ajax controls interactions.
When the page load completes I add two ajax requests to the ajaxmanager queue so the user can interact with the page without being held up.
What I want to do is if the user interacts, make their ajax request 'jump the queue' and get processed before the two long-loading ajax requests are complete. Once the user's request is complete, continue with the queue.
Is this possible? I see ClientEvents-OnRequestStart can eventArgs.set_cancel(true), but this will also cancel the user's request so it won't work.
I have lots of controls on this page within grids, treeview, buttons, links, so it isn't practical to have all of these change to call a javascript function that eventArgs.set_cancel(true) and then raises an onclick() or similar.
Do you have a solution?
Thanks, Dan