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. Advertisements

  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. Advertisements

  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. 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. owais
    Replies:
    1
    Views:
    1,190
    Azhagan
    Oct 5, 2004
  2. Anonieko Ramos
    Replies:
    0
    Views:
    719
    Anonieko Ramos
    Apr 14, 2004
  3. Matt
    Replies:
    0
    Views:
    3,833
  4. Anonieko
    Replies:
    1
    Views:
    22,699
    ElronVel
    Feb 4, 2006
  5. Charlie Zhang
    Replies:
    3
    Views:
    1,557
    Paul Lutus
    Aug 16, 2004
  6. cindy
    Replies:
    2
    Views:
    5,620
    cindy
    Jul 16, 2009
  7. Rob

    progress bar or guage bar

    Rob, Jul 11, 2003, in forum: ASP General
    Replies:
    6
    Views:
    437
    Chris Barber
    Jul 12, 2003
  8. Mike Dee
    Replies:
    3
    Views:
    521
    Mamidipalli
    Mar 1, 2006
Loading...