[CLOSED] Conceptual Async Operations Question

  1. #1

    [CLOSED] Conceptual Async Operations Question

    I have a couple of combo boxes on a page which help select criteria for a database operation on a button click using a DirectMethod.

    There are 2 operations that will run. 1 is a summary operation. The other is grabbing some data rows.

    The summary operation will populate a couple of display fields with it's results.

    The second operation will load data into a grid panel.

    The summary operation takes about 10 seconds. The row retrieval about 1-2 seconds. (Nothing I can do about that now, large datasets) (Only returning 10 records at a time)

    I would like for the operations to be executed at the same time and when they are finished to respectively update the controls I want them to.

    I have created a simplified case using Thread.Sleep to mimic the DB ops. (Direct Method calls a function that kicks off those 2 ops)

    And 2 display fields that will update when each operation completes, independently.

    I can't seem to figure out how to make them run asynchronously. (Display Fields get updated at the same time, when both ops complete)

    This may be outside the scope of Ext.Net but maybe you could suggest some ways?

    I was reading the book this morning and it was talking about web services a bit, would this be a way to do this?

    Last edited by Daniil; Nov 01, 2013 at 5:04 AM. Reason: [CLOSED]
  2. #2
    Hi @Rob,

    First of all, welcome to the Ext.NET forums!

    As for your question, please follow this:

Similar Threads

  1. Async File Upload
    By Iguion in forum 2.x Help
    Replies: 4
    Last Post: Nov 28, 2012, 9:05 AM
  2. Async refresh page
    By fangmdu in forum 2.x Help
    Replies: 1
    Last Post: Jul 02, 2012, 8:03 PM
  3. Relatively complex operations with AjaxMethods
    By henricook in forum 1.x Help
    Replies: 3
    Last Post: May 17, 2010, 1:45 PM
  4. Page Async Tasks
    By anand in forum 1.x Help
    Replies: 2
    Last Post: Jun 05, 2009, 2:28 PM
  5. Best Practices for WebService CRUD operations
    By pkellner in forum Open Discussions
    Replies: 1
    Last Post: Dec 22, 2008, 4:55 PM

Tags for this Thread

Posting Permissions