AppointmentMappingInfo issue

2 posts, 0 answers
  1. Art
    Art avatar
    55 posts
    Member since:
    Dec 2010

    Posted 01 Feb 2011 Link to this post

    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:

    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



  2. Dobry Zranchev
    Dobry Zranchev avatar
    353 posts

    Posted 04 Feb 2011 Link to this post

    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.
Back to Top