Hi,
can someone point me to a complete example of a converter ?
I was able to find the code for the build in converters but am unable
to create on of my own.
I don't know what am I doing wrong.
maybe I am missing something in the web.config or some attribute
somewhere,
I just can't seem to make it work.
say I have a class POINT that has int x and int y
and I want it to be serialized as
"new Point(x,y)"
and have additional script like
function Point(x,y) {
this.x=x;
this.y=y;
}
how would I go about creating this converter (please please - with ALL
the details).
thanks,
Eyal Peleg
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr88399cwa;
Sat, 20 May 2006 11:52:07 -0700 (PDT)
X-Google-Token: 6yfU1QwAAADFKqsTSc3SOT_iEE50QwTh
Received: from 88.152.108.43 by j33g2000cwa.googlegroups.com with HTTP;
Sat, 20 May 2006 18:52:07 +0000 (UTC)
From: "epeleg" <[EMAIL PROTECTED]>
To: "Ajax.NET Professional" <[email protected]>
Subject: converters once more
Date: Sat, 20 May 2006 11:52:07 -0700
Message-ID: <[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Maxthon;
.NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
Hi,
can someone point me to a complete example of a converter ?
I was able to find the code for the build in converters but am unable
to create on of my own.
I don't know what am I doing wrong.
maybe I am missing something in the web.config or some attribute
somewhere,
I just can't seem to make it work.
say I have a class POINT that has int x and int y
and I want it to be serialized as
"new Point(x,y)"
and have additional script like
function Point(x,y) {
this.x=x;
this.y=y;
}
how would I go about creating this converter (please please - with ALL
the details).
thanks,
Eyal Peleg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---