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
130
Custom Appointment Appearance
posted

In the WebDayView and WebMonthView is there a way to change the default appearance of appointments? For example I want to add an icon that would appear to the left of the appointment. Also I want to hyperlink the location such clicking it would take me to another page on my web app. Is there a way to do this?

Thanks,

George 

  • 4315
    Verified Answer
    Offline posted

    Hello.

    If you want to have your own page, when creating appointment, then you need to create a custom appointment. You cannot exactly redirect to some other page and expect that the information from your custom appointment page can be related to the WebSchedule control. That's why you can inherit the Appointment class and create your own custom one. Please follow that tutorial to achieve that. This will allow you to add additional properties of the Appointment that are different from the those that are build in the WebSchedule.

    After all there is a way to redirect to a custom page URL, but I will not recommend that. You can attach to the client-side event ActivityDialogOpening and then redirect to your page. See that last post in that forum thread.

    As far as about the custom style of the WebMonthView, I can suggest you several options. First of all you can modify styles images of each of the Appointments by defining them in the ASP.NET page (see the image below).

    So you can choose your own image and using CSS styles to place in on the left side of the appointment. You can also add styles to the individual Appointment - forum post.

    Another option for Appointment customization can be using the AppointmentFormatString property. See this forum post for more information.

    If you have some other information, don't hesitate to ask. Thank you for using our products.

    Best regards,

    Nikolay Alipiev