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

AdvancedInsertTemplate Through JS

6 Answers 77 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Bob Everland
Top achievements
Rank 1
Bob Everland asked on 12 Aug 2009, 02:47 PM
I am using the scheduler a bit differently then how it was originally intended. We are using it to schedule employees for shifts to work. Most employees work the same shift, so instead of manually going through and adding in each employee to a time I created a form that will allow you to select multiple employees, multiple days, and a start and end time. I would like to move this to the AdvancedInsertTemplate instead of through a radwindow. My only issue with doing this is that I see no way of calling the command that shows the AdvancedInsertTemplate . Is there a command I am missing? I have disabled the insert by clicking on a time as this isn't valid for the application I have created.

6 Answers, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 13 Aug 2009, 08:18 AM
Hello Bob Everland,

You can use the showAdvancedInsertForm(date) method of RadScheduler client object. Just pass a date as a parameter of the method.

Best wishes,
Veselin Vasilev
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.
0
Bob Everland
Top achievements
Rank 1
answered on 13 Aug 2009, 09:27 PM
var rs = $find("<%= RadScheduler1.ClientID %>");  
var curDate = new Date(2009, 1, 31);  
rs.showAdvancedInsertForm(curDate);  

0
Bob Everland
Top achievements
Rank 1
answered on 14 Aug 2009, 06:28 PM
Running into an issue doing this. When I click save, the commands on the backend are saved, but the form stays up and the grid never refreshes. I have a custom advancededit form that has no issues and if I use the cancel button it closes the page. What could be causing this?
0
Peter
Telerik team
answered on 17 Aug 2009, 11:28 AM
Hello Bob,

That's strange. Do you set the Subject? Can you make sure that the form passes validation?

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.
0
mohsin
Top achievements
Rank 1
answered on 24 Oct 2010, 05:24 AM
Hi,

 I have few queries.

Can scheduler represent shifts?  
Can those shifts vary in length?  
Can those shifts overlap?

 My another buyer want to buy it if Rad Scheduler support shifts.

Thanks
--Mohsin
0
Peter
Telerik team
answered on 27 Oct 2010, 12:47 PM
Hi mohsin,

You can style timeslots conditionally based on your shift schedule. Please, review this kb article and let me know if this is what you need -
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/setting-special-days-or-time-slots-in-radscheduler.aspx.

Best wishes,
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
Tags
Scheduler
Asked by
Bob Everland
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Bob Everland
Top achievements
Rank 1
Peter
Telerik team
mohsin
Top achievements
Rank 1
Share this question
or