Saturday, May 3, 2008

ajax bridge call retry problem.

it was very hactic week,lot off work in office and in home also.
One problem i want to discribe here.
I am working in .net project.I was having a problem. Problem was like if suppose a application is calling a ajax service or call bia ajax.If that call fail than application give user to option to retry that call. We were not getting parameter info in onError event.than i found some solution micosoft Ajax book.syntax was like.
classname.MethodName(parameters,oncomplete,onerror,userContext,onTimeOut).
We were using bridge or u can say *.asbx using structre.
You can pass object in userContext variable.When ever call is succesfull of fail resultant method will get the userContext variaable.
There u can retry that method.
This is for this now.
keep programming.

No comments: