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

How can i alert users if any user try to add new appointment in readonly slot ?

4 Answers 57 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
palak
Top achievements
Rank 1
palak asked on 24 Jun 2011, 07:10 AM
Hello guys,

I've made all existing appointment's timeslots as READONLY because i don't want user to register any appointment in the same timespan. So now when any user try to add appointment in that timespan via changing start time/end time in edit appointment dialog window, no appointment is able to add in that timespan, but users don't come to know what was the problem, so i want to alert users the message like "that there is already appointment added in this timespan, please try later "

Kindly share your knowledge.

thanks & regards
palak

4 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 30 Jun 2011, 08:05 AM
Hello Palak,

I can suggest you to hook to the AppointmentEditing event and check in which TimeSlot is the appointment. And if it is in a ReadOnly TimeSlot to Cancel either the AppointmentEditing or the ShowDialog event. You can even display your own message that the appointment cannot be edited.
Other option is to make the Appointments itself read only. You can create a CustomAppointment with IsReadOnly property. You can also create a custom AppointmentTemplate for the appointments

Hope this information helps.

Greetings,
Konstantina
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
palak
Top achievements
Rank 1
answered on 30 Jun 2011, 12:17 PM
Hi Konstantina,

Thanks for respond, but you might have read my problem definition as i already built specific timeslots as READONLY. but my concern is, when user try to create new appointment via other timespan, and change starttime, and endtime which is READONLY timeslot, so scheduleview right now is not creating appointment, but also user don't come to know why it was not created, so at this time, i want to show message to users that they tried to create appointment on READONLY timeslots. Getting ??

You can also check online demo of scheduleview readonlyslots feature, and try to create appointment ,and give timeslots(starttime and endtime) of any READONLY slot, its not giving any kind of alert/message to users about this.

http://demos.telerik.com/silverlight/#ScheduleView/SpecialSlots

i hope, u got my point.

thanks & regards,
palak bhansali
0
Konstantina
Telerik team
answered on 05 Jul 2011, 12:32 PM
Hi Palak,

Unfortunately, this is not possible with the current implementation of the ScheduleView control.
Sorry for the caused inconvenience.

All the best,
Konstantina
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
palak
Top achievements
Rank 1
answered on 05 Jul 2011, 12:39 PM
Hi Konstantina,

No problem, let me check any workaround to get it done, if you have got, you can share with us.

thanks & regards
palak
Tags
ScheduleView
Asked by
palak
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
palak
Top achievements
Rank 1
Share this question
or