Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Scheduler > Hyperlink for Appointment

Not answered Hyperlink for Appointment

Feed from this thread
  • Christian Loepp avatar

    Posted on Aug 17, 2011 (permalink)

    Not sure if this is possible but I thought I might ask.  My client wants to have the scheduler, but  instead of appointments it just lists hyperlinks to documents the user has  to look at for that day.  The idea is that the end user will look at their schedule to see the documents they must read each day.   So is there a way to just show the appointment as a hyperlink and not have the whole appointment piece popup if they double click it, since that would be unnecessary?

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Aug 23, 2011 (permalink)

    Hello Christian,

    In order to achieve this you have to edit the AppointmentTemplate. You can find more information how to achieve it in this help article. You can put a Hyperlink button in the template and in order to cancel the showing of the EditAppointmentDialog, you need to handle the Appointment_Editing event:

    private void scheduler_AppointmentEditing(object sender, Telerik.Windows.Controls.AppointmentEditingEventArgs e)
    {
        e.Cancel = true;
    }

    Hope this information helps.

    All the best,
    Konstantina
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

  • Christian Loepp avatar

    Posted on Aug 25, 2011 (permalink)

    Ok, this worked good.  So I have that going.  Can I ask you another part of what I am doing.  I would like to use the drag and drop feature of the Schedule control.  If possible, I want the user to drag a file from Windows Explorer, drop it on a timeslot on a day, and be able to then capture which day and timeslot was selected when the file was dropped.  I read the articles and I wired up the Drag and Drop Manager.  But Drag or Drop events never seem to fire.  Is it because I am using Windows Explorer and it can't track the drag event?

    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Aug 29, 2011 (permalink)

    Hello Christian,

    You need to create a custom DragDropBehavior:
    http://www.telerik.com/help/silverlight/radscheduleview-features-draganddrop.html

    and override the ConvertDraggedData method, where you should return an instance of appointment that represents the dragged file and can be put in the AppointmentsSource collection. The parameter of the ConvertDraggedData can be cast to IDataObject that in turn could be used to determine what the file properties/content are. For example the file name could be retreived like this:

    var dataObject = data as IDataObject;
    var fileName = dataObject.GetData("FileNameW")

    Regards,
    Valeri Hristov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Aug 30, 2011 (permalink)

    Hello Christian,

    I apologize for overlooking that you actually asked about RadScheduler, not RadScheduleView. In all cases, however, I would strongly recommend upgrading your application to use RadScheduleView, as it is much faster and easier to customize than RadScheduler. In addition, RadScheduler is near the end of its lifecycle and is going to be deprecated from Q3 2011 in November.

    Greetings,
    Valeri Hristov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Scheduler > Hyperlink for Appointment
Related resources for "Hyperlink for Appointment"

WPF Scheduler Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]