Ah, when updating from old Ajax.NET there is a change, you have to use
the namespace on the client side:
MyNameSpace.availConnections.loadDepartures(...)
instead of old way:
loadDepartures(...)
Regards,
Michael
On 5/18/06, sbeer <[EMAIL PROTECTED]> wrote:
>
> here it is:
>
> addNamespace("MyNameSpace");
> MyNameSpace.availConnections_class = function() {};
> Object.extend(MyNameSpace.availConnections_class.prototype,
> Object.extend(new AjaxPro.AjaxClass(), {
> loadDepartures: function(regionRootId, languageno) {
> return this.invoke("loadDepartures",
> {"regionRootId":regionRootId,
> "languageno":languageno}, this.loadDepartures.getArguments().slice(2));
> },
> loadDestinations: function(departureRootId, languageno) {
> return this.invoke("loadDestinations",
> {"departureRootId":departureRootId, "languageno":languageno},
> this.loadDestinations.getArguments().slice(2));
> },
> url:
> '/WegoloV3/ajaxpro/(jtyqqsvqwcawhcfovateolmc)/MyNameSpace.availConnections,WegoloV3.ashx'
> }));
> MyNameSpace.availConnections = new MyNameSpace.availConnections_class();
>
>
> >
>
--
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
-~----------~----~----~----~------~----~------~--~---