Hi,

addNamespace was used on the client-side JavaScript code to easy setup
new namespaces. Namespaces do not exist in JavaScript, the way I'm
using it is to create a set of objects with properies for each part of
the namespace.

How do you have to change you code to get is running without addNamespace?

1) you can include the ms.ashx which will include the old addNamespace code

2) write code like this: instead of

    addNamespace("MS.Web.UI");

you are now writing this:

    if(typeof MS == "undefined") MS = {};
    if(typeof MS.Web == "undefined") MS.Web = {};
    if(typeof MS.Web.UI == "undefined") MS.Web.UI = {}


This change was needed because of the Windows Mobile 5 support. As I
wrote above you can include the ms.ashx or copy&paste the addNamespace
function, of course.

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to