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

AppointmentMappingInfo issue

1 Answer 80 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Art
Top achievements
Rank 1
Art asked on 01 Feb 2011, 07:40 PM

I'm having a problem getting the mappings to work out. The dates and text items (subject, description, etc) seem to work fine, however id fields do not, nor do any of the boolean values (visible, all_day, etc.) I know the field names are correct. Oracle does not have a boolean field type, so I can return a number or a string. Any ideas?
A condensed version of the code is:

daTemp.Fill(dtAppts)
Dim appointmentMappingInfo As New Telerik.WinControls.UI.AppointmentMappingInfo()
appointmentMappingInfo.Start = "APPT_START"  '  One of the mappings
appointmentMappingInfo.BackgroundId = "BACKGROUND_ID"   '  One of the mappings
SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo
SchedulerBindingDataSource1.EventProvider.DataSource = dtAppts
RadScheduler1.DataSource = SchedulerBindingDataSource1

Later
Art

 

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 04 Feb 2011, 04:41 PM
Hi Art,

Thank you for writing.

You should create callback functions that are responsible for converting the value that you want. You can find the available documentation for this functionality here. In addition, you can find some information in the following forum post. The conversion method should convert the value from the data source value to the object value and vice versa. If you still have other related questions, do not hesitate to contact us.

All the best,
Dobry Zranchev
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
Scheduler and Reminder
Asked by
Art
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or