This code was written by Microsoft so I'm not totally sure which object
"this" is pointing to. I'm assuming there might be a CultureInfo object but
I don't know for sure. I know people like all the code but in this case "all
the code" would be several thousand lines of JavaScript code that some
people at Microsoft wrote. I was mainly wondering if anyone had gotten this
error before and what it was related to so that I might have some point to
start debugging at.
But at any rate I ended up getting around it some how. There was a second
error that had to do with searching for a DOM object that hadn't loaded yet.
Once I fixed that bug this one disappeared.
On Wed, Oct 15, 2008 at 3:42 AM, ThanderMaX <[EMAIL PROTECTED]> wrote:
>
> what is "this" ???
>
> On Oct 15, 2:16 am, "Adam Schmitz" <[EMAIL PROTECTED]> wrote:
> > I'm getting a random javascript error that shows up on page load. The
> error
> > that FireFox reports is "Components is not defined" and points to the
> > resource file "ScriptResource.axd"
> >
> > When I go to that line of code it points to this function:
> >
> > function Sys$CultureInfo$_getMonthIndex(value) {
> > if (!this._upperMonths) {
> > this._upperMonths =
> > this._toUpperArray(this.dateTimeFormat.MonthNames);
> > }
> > return Array.indexOf(this._upperMonths, this._toUpper(value));
> > }
> >
> > Does anyone know what control this function or error message is commonly
> > associated with? I'm mainly trying to figure out where to start
> debugging.
> >
> > --
> > Adam
> >
> > "Do one thing, and do it well."
> > -- The UNIX Philosophy
>
> >
>
--
Adam
"Do one thing, and do it well."
-- The UNIX Philosophy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" 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/DotNetDevelopment
You may subscribe to group Feeds using a RSS Feed Reader to stay upto date
using following url
<a href="http://feeds.feedburner.com/DotNetDevelopment">
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---