XmlSchedulerProvider
A RadScheduler provider that uses XML document as a data store.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class XmlSchedulerProvider : SchedulerProviderBase
Inheritance: objectProviderBaseSchedulerProviderBaseXmlSchedulerProvider
Inherited Members
Constructors
Initializes a new instance of the XmlSchedulerProvider class.
public XmlSchedulerProvider()
Initializes a new instance of the XmlSchedulerProvider class.
Initializes a new instance of the XmlSchedulerProvider class.
public XmlSchedulerProvider(XmlDocument doc)
The document instance to use as a data store.
Methods
Deletes the specified appointment.
public override void Delete(RadScheduler owner, Appointment appointmentToDelete)
The owner RadScheduler instance.
appointmentToDeleteAppointmentThe appointment to delete.
Overrides:
Fetches appointments.
public override IEnumerable<Appointment> GetAppointments(RadScheduler owner)
The owner RadScheduler instance.
Returns:Overrides:
Gets the type of the resources by.
public override IEnumerable<Resource> GetResourcesByType(RadScheduler owner, string resourceType)
The owner RadScheduler instance.
resourceTypestringType of the resource.
Returns:Overrides:
Gets the resource types.
public override IEnumerable<ResourceType> GetResourceTypes(RadScheduler owner)
The owner RadScheduler instance.
Returns:Overrides:
Initializes the provider.
public override void Initialize(string name, NameValueCollection config)
The friendly name of the provider.
configNameValueCollectionA collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.
Exceptions: ArgumentNullExceptionThe name of the provider is null.
InvalidOperationExceptionAn attempt is made to call Initialize(string, NameValueCollection) on a provider after the provider has already been initialized.
ArgumentExceptionThe name of the provider has a length of zero.
Overrides:
Inserts the specified appointment.
public override void Insert(RadScheduler owner, Appointment appointmentToInsert)
The owner RadScheduler instance.
appointmentToInsertAppointmentThe appointment to insert.
Overrides:
Updates the specified appointment.
public override void Update(RadScheduler owner, Appointment appointmentToUpdate)
The owner RadScheduler instance.
appointmentToUpdateAppointmentThe appointment to update.
Overrides: