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

Appointment custom attributes

1 Answer 142 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paul Nascimento
Top achievements
Rank 1
Paul Nascimento asked on 02 Apr 2010, 06:00 PM
(I was surprised that "custom" and "attributes" returned nothing in the search!)

I'm following the "Custom resources and attributes" section of the RadScheduler tree
(http://www.telerik.com/help/aspnet-ajax/schedule_designcustomresourcesandattributes.html)

and am trying to add an attribute.

There's a seemingly throw-away line at the bottom that says "If you enable custom attribute editing, be sure that your insert and update statements accept a parameter with the name of the custom attribute."

Since I'm using a custom "MyDbScheduleProvider" to do all the work, can someone post an example of how I would alter the GetAppointments, Insert, and Update functions to accomidate the new attribute?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 06 Apr 2010, 11:14 AM
Hi Paul,

I have extended the MyDbScheduleProvider to accommodate a custom attribute called 'MyCustomAttribute'. Also, I have created a new field in DbProvider_Classes data table for the custom attribute. Attached is a demo for reference.


Kind 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.
Tags
Scheduler
Asked by
Paul Nascimento
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or