This is a migrated thread and some comments may be shown as answers.

[Solved] Read-only scheduler with double-click for details?

1 Answer 127 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Charles
Top achievements
Rank 1
Charles asked on 15 Apr 2009, 08:30 PM
Hi - I'm using RadScheduler to display a list of calendar entries from a read-only database table. It's working fine for this purpose but I would like to allow users to double-click on the event title to get more information on the event (ideallyfrom a custom attribute.) It seems like this double-click functionality is built into the editor, but I can't seem to enable it in read-only mode. How would I go about doing this?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 20 Apr 2009, 09:04 AM
Hello Charles,

I recommend you use RadTooltip instead as shown in this online demo:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx

For using custom attributes, please see this topic:
http://www.telerik.com/help/aspnet-ajax/schedule_designcustomresourcesandattributes.html

You can modify AppointmentToolTip.ascx.cs as follows:
protected override void  OnPreRender(EventArgs e)  
        {  
            base.OnPreRender(e);  
 
            StartingOn.Text = apt.Owner.UtcToDisplay(apt.Start).ToString();  
            FullText.Text = apt.Attributes["MoreDetailsAttribute"];  
        } 

To display the tooltip on click, you need to set ShowEvent="OnClick" for RadToolTipManager.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Charles
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or