Please see my post here... http://forums.silverlight.net/p/236962/585855.aspx/1?p=True&t=634491747307184062
I've been going through this tutorial and I finally got data coming back from my Ria Service but the JQuery crashes. Inside of DataContext.js there is a callback function on line 133 that is called when the data returns from the service. On the first
line of this method it looks for queryResult.Metadata. My Metadata is undefined and so the $.each crashes inside the jquery library. I'm not sure what this Metadata is actually for but inside my JSON endpoint I am indeed specifying transmitMetadata = true.
Not sure if these are linked but what else could this be for and why is there no if (metadata != undefined). Is this a bug in DataContext.js?