If I change MyAjaxClass sample (using SqlString istead of string) like
that
...
private SqlString m_FirstName = "Michael";
public SqlString FirstName
{
get { return m_FirstName; }
set { m_FirstName = value; }
}
...
here is the method that pass to the client an object of type
MyAjaxClass
[AjaxPro.AjaxMethod]
public MyAjaxClass GetClass()
{
MyAjaxClass c = new MyAjaxClass();
return c;
}
but when javascript method execute
function GetClass_callback(response){...}
the response.value is null
What can I do to use classes with properties types like SqlString,
SqlInt32 etc. ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---