Hey
First of all, thanks for the reply !
I have just downloaded 6.7.11.1 and re-checked the code,
but still getting an error:
// client
var dic=new Ajax.Web.Dictionary();
dic.add("x","y");
ServerFunction(dic);
// server
[AjaxMethod]
public bool ServerFunction(Dictionary<string,string> dic) {
return true;
}
Message
Object reference not set to an instance of an object.
Type
System.NullReferenceException
Stack
at AjaxPro.JavaScriptDeserializer.Deserialize(IJavaScriptObject o,
Type type)
at AjaxPro.XmlHttpRequestProcessor.RetreiveParameters()
at AjaxPro.AjaxProcHelper.Run()
TargetSite
System.Object Deserialize(AjaxPro.IJavaScriptObject, System.Type)
Source
AjaxPro.2
also tried to replace <string,string> with
<IJavaScriptObject,IJavaScriptObject>, same error.
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---