Show progress bar during page Load code running . .

Discussion in 'ASP .Net' started by akantrowitz@hotmail.com, Jan 15, 2007.

  1. Guest

    I have a asp.net 2.0 page that runs a large DB query on the Page_Load
    event. This is needed because it generates an array of pictures that
    are then dumped out onto the webpage.

    Is there any way to display progress to the user while this query is
    running?

    This seems like a catch 22 because the page hasn't rendered yet until
    after the Page_Load finished but i am running a long running task that
    is required to be complete prior to page rendering.

    thks,
    ak
     
    , Jan 15, 2007
    #1
    1. Advertising

  2. This sample at :-
    http://www.daveandal.net/books/6744/loadpost/simplewait.aspx
    Hope that helps
    Patrick

    <> wrote in message
    news:...
    >I have a asp.net 2.0 page that runs a large DB query on the Page_Load
    > event. This is needed because it generates an array of pictures that
    > are then dumped out onto the webpage.
    >
    > Is there any way to display progress to the user while this query is
    > running?
    >
    > This seems like a catch 22 because the page hasn't rendered yet until
    > after the Page_Load finished but i am running a long running task that
    > is required to be complete prior to page rendering.
    >
    > thks,
    > ak
    >
     
    Patrick.O.Ige, Jan 15, 2007
    #2
    1. Advertising

  3. Where is the delay, the SQL or the actual image download?
    How many images on average are you talking about?
    How large are the images on average?

    Regards,
    Brian K. Williams




    <> wrote in message
    news:...
    >I have a asp.net 2.0 page that runs a large DB query on the Page_Load
    > event. This is needed because it generates an array of pictures that
    > are then dumped out onto the webpage.
    >
    > Is there any way to display progress to the user while this query is
    > running?
    >
    > This seems like a catch 22 because the page hasn't rendered yet until
    > after the Page_Load finished but i am running a long running task that
    > is required to be complete prior to page rendering.
    >
    > thks,
    > ak
    >
     
    Brian Williams, Jan 15, 2007
    #3
    1. Advertising

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. owais
    Replies:
    1
    Views:
    1,062
    Azhagan
    Oct 5, 2004
  2. Anonieko
    Replies:
    1
    Views:
    21,355
    ElronVel
    Feb 4, 2006
  3. Charlie Zhang
    Replies:
    3
    Views:
    1,258
    Paul Lutus
    Aug 16, 2004
  4. cindy
    Replies:
    2
    Views:
    4,896
    cindy
    Jul 16, 2009
  5. Mike Dee
    Replies:
    3
    Views:
    320
    Mamidipalli
    Mar 1, 2006
Loading...

Share This Page