Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Click to add event text
posted

I am looking to do 2 things:

  1. Change the text that appears when you hover over a day in the UltraMonthViewSingle from "Click to add event" to something else.
  2. Intercept when a user clicks on the "Click to add event" element.

Is there a way to do this?

Parents
  • 69832
    Verified Answer
    Offline posted

    1. The strings are localizable, so you can set them via the resource customizer:

    Infragistics.Win.UltraWinSchedule.Resources.Customizer.SetCustomizedString( "ClickToAddAppointment_Text", "Changed for Appointment" );
    Infragistics.Win.UltraWinSchedule.Resources.Customizer.SetCustomizedString( "ClickToAddEvent_Text", "Changed for AllDayEvent" );

    2. UltraCalendarInfo fires an event, BeforeAppointmentAdded, when any appointment is added to the Appointments collection, but there is no way to differentiate between the "click to add" appointment and a standard one.

Reply Children
No Data