Author: jmhem1 | Posted on: 7/29/2008 1:30:15 AM | Views : 377

I love the idea of been able to create a class server side that I can then share on the client, ie pass and return from my webservices. 

For example:

public class SimpleClass
{
    public string _strAttribute1 = "";
    public string _strAttribute2 = "";
}

[GenerateScriptType(typeof(SimpleClass))]

Now I can get JScript intellisense for the class itself, but i can't get it for it's attributes
For example:

var t = new SimpleClass(); // get intellisense
t._strAttribute1; // no intellisense

I am assuming that is not supported (or prehaps I'm not doing it correctly), does anyone know how I can get intellisense in this situation??

Thanks in advance.
...

Go to the complete details ...