Hi All,

I am using Ajax.NET
in a page, i have a user control which will load hundreds of records
from database.

the page is loading in this sequence->
top navigation -> left navigation -> central user control
the central user control will be like freezed when loading the DB
records.

it takes around 1 to 2 seconds for loading when I test in office.
but when clients test (from different locations, like Aus, US, some
take few seconds to load, but some take more than 30 seconds to load
the table, like freezing)

when I change the Ajax Function to .Net Datagrid, it loads the table
without freezing.

so what should be the causes of taking such long time to load from DB.
DB connectivity?
client under proxy server?
client connectivity?
AJAX DB requests vs Loading DB to datagrid?

i load the DB in this way -->

function callback(res)
{
    var ds = res.value
    for (i=0; i < ds.Tables[0].Rows.length; i++)
    {
        //draw HTML tables according the DS
    }
}

function loadDB()
{
    MyNamspace.MyClass.MyMethod(para1, para2, callback);
}

<body onload="loadDB();">

clients are complaining about this slow loading time ~_~...
any ways to improve? thanks a lot!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to