I am using rad scheduler. I have a custom provider attached to the scheduler.
After executing this function
public class MyDbSchedulerProvider : DbSchedulerProviderBase
{
public override IEnumerable<Appointment> GetAppointments(RadScheduler owner)
{
---------
---------
return appointments;
}
I am getting following error
Type 'System.Xml.XmlAttribute' in Assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.Serialization.SerializationException: Type 'System.Xml.XmlAttribute' in Assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.
Please help.
Thanks
Viji