Custom Resource Grouping in CustomEditAppointmentDialog

3 posts, 0 answers
  1. kareem
    kareem avatar
    2 posts
    Member since:
    Jul 2011

    Posted 16 Jul 2014 Link to this post

    hi  i am trying  to make project like demo (Custom Appointment Dialog)

    1- i can't display custom resources from database from class (CustomResource) in "CustomEditAppointmentDialog" Form 
    2- save resource ID in table appointment  (IEvent).
    3-create custom background class "AppointmentBackgroundInfo"   to override colors and  names .

    Note :  i using  business object , resource  "relation one to many "

    thank you

  2. kareem
    kareem avatar
    2 posts
    Member since:
    Jul 2011

    Posted 20 Jul 2014 in reply to kareem Link to this post

    Any Answers?
  3. DevCraft R3 2016 release webinar banner
  4. Dess
    Dess avatar
    1561 posts

    Posted 21 Jul 2014 Link to this post

    Hello Kareem,

    Thank you for writing.

    Please find attached a sample project, demonstrating how to display a custom appointment (with email) in the custom EditAppointmentDialog. The specific resource is loaded correctly from the data base and it is stored after changes. There is a .bak file for the sample data base. The following help articles are quite useful about this topic:
    As to the question related to creating AppointmentBackgroundInfo, here is a sample code snippet:
    AppointmentBackgroundInfo abi = new AppointmentBackgroundInfo( 123, "Test", Color.LightCoral,Color.Coral ,Color.Black,Color.Black );
    abi.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
    this.radScheduler1.Appointments.Last().BackgroundId =123;

    I hope this information helps. Should you have further questions, I would be glad to help.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top