DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » How To » Add rtl to tool tip of Calendar and Schedular

Add rtl to tool tip of Calendar and Schedular

how can i add rtl to tool tip of Calendar and Schedular and/or change the content

Thanks

Roiy - 2/6/2008 4:18:23 PM
The ToolTip is available for the following elements:
  • the calendar events (default value is taken from DataTextField but you can change it using BeforeEventRender)
  • the resource headers in DayPilotScheduler (you can change it by setting ToolTip property for each resource)
  • the column headers in DayPilotCalendar - for both ViewType="Resources" and ViewType="Days" (you can modify using ToolTip property of the Columns collection items, it's similar to resources in DayPilotScheduler)
  • the time headers in DayPilotScheduler (you can modify it using BeforeTimeHeaderRender handler)
These standard tooltips are simply transformed into title="" attributes and they should respect RTL text orientation.

It's also possible to replace the event tooltips with DayPilotBubble by assigning BubbleID property. I haven't tested it but I believe you can use <div style='direction:rtl'>your text</div> as your InnerHTML in RenderContent event handler to switch to RTL rendering.
Dan Letecky - 2/11/2008 10:03:53 PM
Post reply