Chandan Kumar
Top achievements
Rank 1
Chandan Kumar
asked on 28 May 2010, 08:31 AM
Dear Sir
i Want to worked on Scheduler control. Its working Fine.
But In case of multiple Provider i want to disable particular Cell. How can i do this.
i just attach my jpg file please see and give me feedback.
Thank you.
i Want to worked on Scheduler control. Its working Fine.
But In case of multiple Provider i want to disable particular Cell. How can i do this.
i just attach my jpg file please see and give me feedback.
Thank you.
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 28 May 2010, 11:56 AM
Hello Chandran,
If you want to prevent the user from adding new appointments for particlar slot, then you can cancel the OnClientAppointmentInserting event using args.set_cancel(true) after checking for the condition.
Client code:
Also the following KB Article shows server side solution by handling TimeSlotCreated:
Setting special days or time slots in RadScheduler
Regards,
Princy
If you want to prevent the user from adding new appointments for particlar slot, then you can cancel the OnClientAppointmentInserting event using args.set_cancel(true) after checking for the condition.
Client code:
function OnClientAppointmentInserting(sender, args) { |
if (condition) { // check for condition |
args.set_cancel(true); |
} |
} |
Also the following KB Article shows server side solution by handling TimeSlotCreated:
Setting special days or time slots in RadScheduler
Regards,
Princy
0
Chandan Kumar
Top achievements
Rank 1
answered on 28 May 2010, 02:20 PM
But Sir , i give appointment by using right click menu on selected cell and i want to disable right click on paticular cell
it is my requirement. Thats why i want how to disable particular cell.
it is my requirement. Thats why i want how to disable particular cell.
0
Hello Chandan,
We have provided solution in this forum thread.
Greetings,
Peter
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.
We have provided solution in this forum thread.
Greetings,
Peter
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
Chandan Kumar
Top achievements
Rank 1
answered on 29 May 2010, 06:45 AM
Please give me server side code for disable particular cell's Context menu with Condition wise.
Because i need disable context menu from paticular cell with condition wise.
for example :-
In one Scheduler i just showing 2 Doctor Time Schedule in two column.
and i am giveing appointment by context menu "New Appointment".
if doctor A lunch time is 12:00 to 12:30 and
Doctor B Lunch time Is 1:00 to 1:30 .
Then i want do not appear context menu on Cell 12:00 to 12:30 for docater A
and 1:00 to 1:30 for Doctor B. Because these time is lunch time of both doctor.
i think you understand my condition. please help me.
Thank You.
Chandan
Because i need disable context menu from paticular cell with condition wise.
for example :-
In one Scheduler i just showing 2 Doctor Time Schedule in two column.
and i am giveing appointment by context menu "New Appointment".
if doctor A lunch time is 12:00 to 12:30 and
Doctor B Lunch time Is 1:00 to 1:30 .
Then i want do not appear context menu on Cell 12:00 to 12:30 for docater A
and 1:00 to 1:30 for Doctor B. Because these time is lunch time of both doctor.
i think you understand my condition. please help me.
Thank You.
Chandan