hello,
i donwload the sample project 234043_customadvformandprovider.zip but when you try to set update this project to the new model of custom provider an error says that you must override GetReources when really i done, probably some javascript/or so much have to be changed. My method:
Also i comment GetrourcesByType and GetResourcesType and also the Insert update,etc to IschedulerInfo.
Thanks
i donwload the sample project 234043_customadvformandprovider.zip but when you try to set update this project to the new model of custom provider an error says that you must override GetReources when really i done, probably some javascript/or so much have to be changed. My method:
public override IDictionary<ResourceType, IEnumerable<Resource>> GetResources(ISchedulerInfo schedulerInfo){ IDictionary<ResourceType, IEnumerable<Resource>> recursos = new Dictionary<ResourceType, IEnumerable<Resource>>(); recursos.Add(new ResourceType("Teacher", true), Teachers.Values); recursos.Add(new ResourceType("Student", true), Students.Values); return recursos;}Also i comment GetrourcesByType and GetResourcesType and also the Insert update,etc to IschedulerInfo.
Thanks