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

AppointmentItemContentTemplate Editing

5 Answers 89 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 10 May 2011, 08:12 AM
Hi How does one change the dialogue associated with adding/editing an appointment? I've tried using Blend 4.0.20525, but I can't seem to "Edit Additional Template" and select the AppointmentItemContentTemplate. I can only "Create Empty" versus "Edit a Copy". I've tried instructions listed in this article, but that results in mutliple Blend "Catastropic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)" messages. Am I on the right track here or not?

Any help greatly appreciated--

Cheers,
Scott

5 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 10 May 2011, 01:21 PM
Hello Scott,

We have a nice blog post that demonstrates how to customize the edit appointment dialog:

http://blogs.telerik.com/miroslavnedyalkov/posts/10-11-25/how_to_create_custom_appointments_and_custom_appointment_dialog_in_telerik_scheduleview.aspx

Please try the described approach and if you have any additional questions, contact us again.

Greetings,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 11 May 2011, 05:34 AM
Hi Yana,

Thanks for the info. Is that blog article relevant for Silverlight as well as WPF? (Its sample project appears to be for WPF.) Can you please post a Silverlight sample that contains the default XAML source for the AppointmentItemContentTemplate? We're having trouble with Blend throwing multiple "Catastrophic failures" when we try to edit a copy of anything here.

EDIT: I've since found the source for the EditAppointmentDialogStyle and EditAppointmentTemplate in ScheduleView.xaml, however when I integrate that into our solution, we get an exception trying to open the View that contains the RadScheduleView and EditAppointmentDialogStyle="{StaticResource OurNewStyle}" code.It is no doubt some unresolved reference problem, so it would be SO MUCH EASIER if you could please provide a Silverlight Sample project showing how you add a control to the EditAppointment dialogue. For example, one of your samples adds an "Is Done" checkbox. That's all we need to see--but in Silverlight where all the XAML will build.

Many thanks,
Scott
0
Scott
Top achievements
Rank 1
answered on 12 May 2011, 11:19 PM
Hi Yana,

Any luck creating a Silverlight sample that demonstrates how the Edit Appointment dialog can be modified?

Cheers,
Scott
0
Yana
Telerik team
answered on 13 May 2011, 12:11 PM
Hello Scott,

Please find attached a Silverlight project demonstrating the needed approach. Try it and let us know how it goes.

Best wishes,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 17 May 2011, 04:13 AM
Hi Yana,

Thank you very much for the Silverlight sample project. That was a huge help. I've been able to modify our AppointmentEditDialogue such that your "Is Done?" field appears--just what I needed. Now I can expand that to include the other controls we need.

Cheers,
Scott
Tags
ScheduleView
Asked by
Scott
Top achievements
Rank 1
Answers by
Yana
Telerik team
Scott
Top achievements
Rank 1
Share this question
or