This is a migrated thread and some comments may be shown as answers.

RadScheduler Data binding Issue

3 Answers 78 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hemamalini
Top achievements
Rank 1
Hemamalini asked on 02 Jul 2010, 01:19 PM
Hi,
I have Scheduler in my aspx form. I need to bind the events in the scheduler. I have an issue in binding the Provider for that scheduler. I have seen the demo where i found the Provider was set as XMLSchedulerProvider.

 provider = new XmlSchedulerProvider(Server.MapPath("~/App_Data/Appointments.xml"), false);
 
But I have the data as an IList collection. I dont know how  to convert it into XmlScheduler and bind to the source.

Please help me. is there any direct way  to convert the iList to XmlScheduler ? I need urgent solution for this, I have reffered the following link but dint get complete understanding.
http://demos.telerik.com/aspnet-ajax/scheduler/examples/xmlschedulerprovider/defaultcs.aspx

Thanks in advance,
Hema

3 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 05 Jul 2010, 09:46 AM
Hi Hema,

You might not need a provider at all. Please, see the Binding to Generic List demo and let me know if you can use that approach instead.



Regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Hemamalini
Top achievements
Rank 1
answered on 06 Jul 2010, 10:53 AM

Hi,

   Thanks a lot for that link..Dat s worth enough for me to proceed further..I do struck with another issue as,

  •  'Telerik.Web.UI.Radscheduler'  does not hav a Public property 'timeslotcontextmenusettings'
  •  'Telerik.Web.UI.Radscheduler'  does not hav a Public property 'Appointmentcontextmenusettings'..

 

i hav set the code as shown below..Do i miss anything??? Please do help me..

<timeslotcontextmenusettings enabledefault="true" /> 
<appointmentcontextmenusettings enabledefault="true" /> 

Thanks in advance,
Hema.
0
Peter
Telerik team
answered on 08 Jul 2010, 09:10 AM
Hello Hemamalini,

The RadScheduler context menus were introduced with Q3 2009, so you need to make sure that you use this or later version in your project. Here are the help topics for reference:

http://www.telerik.com/help/aspnet-ajax/scheduler-appointment-context-menu.html

http://www.telerik.com/help/aspnet-ajax/scheduler-timeslot-context-menu.html



Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Hemamalini
Top achievements
Rank 1
Answers by
Peter
Telerik team
Hemamalini
Top achievements
Rank 1
Share this question
or