Hi all,
Recently I've encountered a problem that an ajax method in JavaScript
can't receive a very long string whose length is 1MB or so. But when I
call this method in a synchronous way, it can work. As below:
function test()
{
TestApp.Test.GetString(onReturn); // this line can't work if
len(rst.value) > 1MB, and it should be waiting.
var rst = TestApp.Test.GetString(); // this line can work, but it
takes a little long time.
document.all.divInfo.innerHTML = rst.value; // and I get this HTML
string longer than 1MB
}
function onReturn(rst)
{
document.all.divInfo.innerHTML = rst.value; // Never work, if
len(rst.value) > 1MB
}
Who can help me here? many thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---