Click here to Skip to main content
15,886,724 members

Comments by eceramanan (Top 3 by date)

eceramanan 10-May-11 4:54am View    
Deleted
Thanks.
eceramanan 19-Oct-10 4:03am View    
am i able to clearly explain you people? My concern is, i am not able to hit and get response from Pagemethod 'GetData()' for more than 40 times in loop.Is there some thing that we will not be able to call Pagemethod from Javascript not more than certain number of times?
eceramanan 18-Oct-10 13:30pm View    
Thanks for reply Abhinav. This code works perfectly, not all times.If i run Javascript loop more than 40 times, the server function GetData(IO) doesnot get trigered. If i have 99 images, i will make JavaScript function as,

var lbl='Label';
function getDate()
{
for (var x = 1; x < 100; x++)
{
lbl=lbl+x; document.getElementById(lbl).innerText='Loading...';
PageMethods.GetData((x),OnSucceeded,OnFailed);
}
}


Now OnSucceeded(...) or OnFailed(...)have to be executed 99 times.But Either OnSucceeded(...) or OnFailed(...) is not executed completly(99 times).