Hi,
I fixed this NameValueCollection bug, sorry, download latest version
6.6.13.1 or higher from http://www.ajaxpro.info/.
1) The onLoading is only supported for global:
AjaxPro.onLoading = function(b) {
if(b) alert("isLoading..."); else alert("isFinished!");
}
2) or if you specify it as the third argument for the method after the
AjaxMethod arguments:
Namespace.Class.Do(1,2,3, callback, null, MyOnloading);
Regards,
Michael
On 6/13/06, Nima <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I think it return correct data
> Fiddler showing: new Ajax.Web.NameValueCollection([{"name":"a"}]);/
>
> I write script for creating a new NameValueCollection. but it has same
> problem
>
> var a = new Ajax.Web.NameValueCollection([{"name":"a"}]);
> alert(a['name']);
>
> Also, I have problem with onLoading
> Javascript code is
> NameSpace.Class.onLoading = function(b){}
>
> I got error 'namespace not define', but ajaxpro sample work fine.
>
> Thanks
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---