I have a Server/Client project with WCF communications and sharing a dll between both with Contracts and objects:
Service | Shared Objects | Client
For my Objects I added attributes for use in the propertygrid :
[DataMember]
[DisplayName("Javascript File Name")]
[Description("The browseable path of the Javascript file.")]
[Browsable(true)]
[Editor("BaseNS.NS.NS2.ObjectEditor", typeof(System.Drawing.Design.UITypeEditor))]
public String JavaScriptFileName { get; set; }
I used the (String,Type) constructor of the Editor attribute because the editor will be stored at the client and I dont want to embed it in the shared DLL
Should this work cause I cant get it to ?