1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Event Tool Tip/Summary

Event Tool Tip/Summary

2 posts, 0 answered
  1. Ron
    Ron avatar
    33 posts
    Registered:
    04 Aug 2008
    24 Oct 2008
    Link to this post
    Because of the limited space available in a monthly view calendar I would like to be able to hook into the Tool Tip to display during on_hover of an event for a summary of information from event data. Right now it seems to be be only repeating the event title. I would like to see an event summary field for text info that displays in the tool tip for that event.

    Anyone done this?
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    30 Oct 2008
    Link to this post
    Hello Ron,

    Unfortunately, EventsScheduleView control does not give the opportunity to be extended. So you need to create your own custom control that provides a similar functionality as EventsScheduleView.

    For your convenience I have attached an example. To test the code you need just to put the control in App_Code folder and then register it in the project web.config file like this:

    <toolboxControls> 
            <clear /> 
            <add name="Custom EventsScheduleView" section="Events" type="Telerik.Events.WebControls.CustomEventsScheduleView, App_Code" /> 
            ... 

    Also, you need to modify ~/Sitefinity/ControlTemplates/Events/EventsScheduleView.ascx template as follows:

    <telerik:RadScheduler ID="eventsSchedule" runat="server"
        <AppointmentTemplate> 
            <asp:HyperLink ID="eventDetailsLink" runat="server" />
        </AppointmentTemplate> 
    </telerik:RadScheduler> 

    Do let us know if this helps.

    Kind regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered