Advice needed about how to populate a gridview asynchronously

Discussion in 'Microsoft ASP .NET' started by Exch, Nov 20, 2010.

  1. Exch

    Exch Guest

    Hi,
    I have a web form in which the user chooses some parameters that will
    be passed to a stored procedure, that performs some complex queries.
    The stored procedure fills some records in a temporary table. The
    gridview in the web form uses these records as source. Sometimes the
    stored procedures runs for a lot of minutes, so the page returns
    timeout errors. I’d like to run this SP and return immediately the
    page with a message that warn the user that the results will be
    displayed as soon as possible. Obviously I should (using javascript?)
    verify the status of the SP, then I should fill the gridview.

    Could you please tell me in which way can I obtain the behaviour I
    want? Should I use webservice?

    thank you
     
    Exch, Nov 20, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Pat Friedl

    Using MSXML asynchronously?

    Pat Friedl, Nov 6, 2003, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    253
    Pat Friedl
    Nov 11, 2003
  2. JTrigger

    Calling a webservice asynchronously

    JTrigger, Mar 25, 2004, in forum: Microsoft ASP .NET
    Replies:
    3
    Views:
    256
    Ravichandran J.V.
    Mar 26, 2004
  3. Yi
    Replies:
    3
    Views:
    526
  4. Guest
    Replies:
    0
    Views:
    265
    Guest
    May 27, 2005
  5. Rajiv Gupta

    ASP.NET 2.0 Web parts Drag drop Asynchronously

    Rajiv Gupta, Dec 8, 2005, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    443
    Rajiv Gupta
    Dec 8, 2005
  6. Guest

    GridView Hierarchical View - Gridview in Gridview

    Guest, May 9, 2006, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    1,150
    Guest
    May 9, 2006
  7. Ginny

    Problem in calling a webservice asynchronously

    Ginny, Sep 8, 2006, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    181
    Ginny
    Sep 8, 2006
  8. Mike C#

    Making 10 POST requests from ASP.NET asynchronously

    Mike C#, Nov 14, 2006, in forum: Microsoft ASP .NET
    Replies:
    14
    Views:
    419
    Mike C#
    Nov 17, 2006
Loading...