hi, iam currently try to build a page based on your sample BindGDProviderToDataSet. depends vom a query string i build up the calendar (each has his own loaddata method.i have a calendar for Meetings, fair, birthday and trainung.
first i will show the calendar for Meetings thank works. then i will reload the page with an query to show fair calendar.everything seems to be work, but it will not show the apointments for fair. it seems that he did not correctly recognize the new dataset ?what could be wrong?
Hello Martin,
Thank you for writing in our community.
Could you please send me a working sample or give me more details on what exactly are you doing, so I could investigate the issue you are facing? At this point what I can suggest is make sure you are loading your data source correctly. Take a look again at this sample and make sure you are using the same approach.
Hi Marina, i attached my sample. As you write in your sample you see on the top 3 names (ressources) . but i want only Show one calendar for each ressource. but when i load it my sample did'nt Show the others correct.i hope you can work with my sample.
martin
Thank you for sending me your sample. From what I saw in your sample I believe that you need to add more appointments connected to the different resources and it should work just fine. I tested it on my side and it worked as expected. Here is what I added:
Appointments:
appointmentsTable.Rows.Add(CreateAppointment(1, DateTime.Parse("6.8.2015"), (3600 * 24) * 4, "test", "Nürnberg", "test Messe", true, "1"));
appointmentsTable.Rows.Add(CreateAppointment(2, DateTime.Parse("6.8.2015"), (3600 * 24) * 4, "test", "Nürnberg", "test Messe", false, "2"));
appointmentsTable.Rows.Add(CreateAppointment(3, DateTime.Parse("6.8.2015"), 3600, "Tour Sites", "India", "Description", false, "3"));
Resources:
resourcesTable.Rows.Add(new object[] {1, "Unassigned","Unassigned Resource" ,"unassigned@resources.com"});
resourcesTable.Rows.Add(new object[] {2, "Messen","Messen","info@test.com"});
resourcesTable.Rows.Add(new object[] {3, "Ted Redfern","Ted Redfern",info@test.com});
Here is a Help topic that might be useful:
http://help.infragistics.com/Help/Doc/ASPNET/2011.1/CLR4.0/html/WebSchedule_Binding_to_a_Data_Set_with_WebScheduleGenericDataProvider.html
Please try my suggestions and let me know how it works for you.
Hello ,
I am still following your case. If you have any concerns or questions, please feel free to contact me, I will be glad to help you.
Thank you for choosing Infragistics components!