Hello,

I'm trying once again to get the AutoComplete example working. I'm
using VS 2005, VB.net and .NET Framework 2.0. I seem to have everything
setup correctly. The references to the ASHX files are being created in
my HMTL, but I get an error on the Autocomplete.js file that says:

"addNamespace is not defined"

So this doesn't work: addNamespace("MS.Web.AutoComplete");

I did a little poking around online and saw this:
http://weblogs.asp.net/mschwarz/archive/2006/07/18/Why-addNamespace_28002E002E002E002900_-is-removed_3F00_.aspx

So I changed addNamespace("MS.Web.AutoComplete"); to:

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

Then an error occured on the next line: MS.Web.AutoComplete =
Class.create(); saying: "Class is not defined".

Does anyone have any ideas how I can fix this?

Thanks,
Clint


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

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to