I've looked at it, but it's still not working the way the example tells me it should.
Type.registerNamespace('BicNet.Entities');
BicNet.Entities.GPSData = function()
{
this.test = "testing";
}
now BicNet.Entities.GPSData (the object i just scripted above) has a property called test, but this property cannot be accesed by the objects returned from my webservice (which are of type: BicNet.Entities.GPSData C#).
When looking in FireBug the result comming back has a property: _type=BicNet.Entities.GPSData
Unfortunately in JS you typeof(object) will return: object, string etc. not the actual type. I wonder if the object returned from my WS is one I can't get ahold of...
Thoughts?
The Killer Ninja Coding Monkeys thank those that mark helpful posts as answers.
My Site |
My Examples |
My Blog 