Get Function to Run after Page Loaded on Client

Discussion in 'ASP .Net' started by ree321@gmail.com, Jul 11, 2006.

  1. Guest

    Is there a way to get an ASP.net Function to run after the page has
    been loaded onto the client

    I need to run a function that will fetch the folder sizes of a whole
    drive. As you could guess this takes so long. So I want it to run
    after the page has been rendered to the client. As I was planning on
    using AJAX support (from Anthem.net) to update the page as the folder
    size function was running.

    I have tried running this in Page_Unload but its still waits for the
    Foldersize function to finish before rendering the page on to the
    client. Then I tried running the FolderSize function as a web service
    but it still waits for the web service to return a value before
    rendering the page to the user.

    Is there a way to achieve this? and is there a term for this scenario,
    so I can search about it on the internet.
    , Jul 11, 2006
    #1
    1. Advertising

  2. Are you talking about the folders on the server or on the client?

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]

    <> wrote in message
    news:...
    > Is there a way to get an ASP.net Function to run after the page has
    > been loaded onto the client
    >
    > I need to run a function that will fetch the folder sizes of a whole
    > drive. As you could guess this takes so long. So I want it to run
    > after the page has been rendered to the client. As I was planning on
    > using AJAX support (from Anthem.net) to update the page as the folder
    > size function was running.
    >
    > I have tried running this in Page_Unload but its still waits for the
    > Foldersize function to finish before rendering the page on to the
    > client. Then I tried running the FolderSize function as a web service
    > but it still waits for the web service to return a value before
    > rendering the page to the user.
    >
    > Is there a way to achieve this? and is there a term for this scenario,
    > so I can search about it on the internet.
    >
    Eliyahu Goldin, Jul 11, 2006
    #2
    1. Advertising

  3. Shawn Guest

    You could start a new thread that calculates the folder size.
    http://www.ftponline.com/vsm/2002_11/magazine/features/chester/

    Shawn

    <> wrote in message
    news:...
    Is there a way to get an ASP.net Function to run after the page has
    been loaded onto the client

    I need to run a function that will fetch the folder sizes of a whole
    drive. As you could guess this takes so long. So I want it to run
    after the page has been rendered to the client. As I was planning on
    using AJAX support (from Anthem.net) to update the page as the folder
    size function was running.

    I have tried running this in Page_Unload but its still waits for the
    Foldersize function to finish before rendering the page on to the
    client. Then I tried running the FolderSize function as a web service
    but it still waits for the web service to return a value before
    rendering the page to the user.

    Is there a way to achieve this? and is there a term for this scenario,
    so I can search about it on the internet.
    Shawn, Jul 11, 2006
    #3
  4. Guest

    The server side

    Eliyahu Goldin wrote:
    > Are you talking about the folders on the server or on the client?
    >
    > --
    > Eliyahu Goldin,
    > Software Developer & Consultant
    > Microsoft MVP [ASP.NET]
    , Jul 11, 2006
    #4
    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. Marcelo Birnbach [MS]
    Replies:
    0
    Views:
    3,307
    Marcelo Birnbach [MS]
    Jun 28, 2003
  2. Guadala Harry
    Replies:
    4
    Views:
    1,496
    =?Utf-8?B?aGFyaSBwcmFzYWQ=?=
    Jun 15, 2004
  3. Kylin
    Replies:
    1
    Views:
    375
  4. Udo Corban
    Replies:
    0
    Views:
    3,821
    Udo Corban
    Jan 23, 2004
  5. Replies:
    2
    Views:
    132
Loading...

Share This Page