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?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pat Friedl

    Using MSXML asynchronously?

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

    Calling a webservice asynchronously

    JTrigger, Mar 25, 2004, in forum: Microsoft ASP .NET
    Replies:
    3
    Views:
    221
    Ravichandran J.V.
    Mar 26, 2004
  3. Yi
    Replies:
    3
    Views:
    482
  4. Guest
    Replies:
    0
    Views:
    242
    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:
    406
    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,076
    Guest
    May 9, 2006
  7. Ginny

    Problem in calling a webservice asynchronously

    Ginny, Sep 8, 2006, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    163
    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:
    406
    Mike C#
    Nov 17, 2006
Loading...