Can i create a new appointment inside rad Scheduler based on a single date(select only one day without the need of selecting start date and end date)
For example if we have an occasion like birthday the user should have only one date picker to select the day of the birthday without the need of selecting start day and end day.
Please review the attached picture to help you understand more what i need.
enter image description here
Telerik supports creating custom Scheduler Edit form Templates. See any of the links below for sample code:
http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/how-to/customize-the-advanced-form-template
http://demos.telerik.com/aspnet-ajax/scheduler/examples/raddock/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx
It should also be possible to intercept the client-side event when the edit form is being shown and hide the control you want hidden at that time.
http://blogs.msmvps.com/bmains/2010/08/15/telerik-radscheduler-client-side-capabilities-part-2-the-advanced-form/
Related
I am trying to put together a mock up for a data collection app for a local nonprofit using GSuite's AppMaker. So far I really like the tool.
One thing I need to be able to do is streamline the data entry for the site representatives. In my app, I display a list of students in a table, where one of the columns is a boolean value which represents attendance. The desired result is for the teachers to be able to input the date field one time using the date input button at the bottom of the page. Then they can quickly point and click down the Present column to log attendance.
My question is: how would I link the date selector dropdown so that the date field pre-populates with the selected date from the input field? I don't want them to have to enter the field over an over again since its the same for each row and I don't want the user experience to feel clunky.
Screenshot of the App for reference:
Using client script, you can add the following to the onValueEdit event handler of the date widget at the bottom.
var items = widget.root.descendants.<YourTable>.datasource.items;
items.forEach(function(item){
item.<DateField> = newValue;
});
The only thing to take into account is that when using client scripting, you will only update the records loaded in the table at the moment; i.e, if your table has paging, it will only update the current page. If you are using paging, then you will need to add the following code to the onPreviousClick and the onNextClick event handlers of the pager widget:
var selectedDate = widget.root.descendants.<YourDatePicker>.value;
var items = widget.root.descendants.<YourTable>.datasource.items;
items.forEach(function(item){
item.<DateField> = selectedDate;
});
I'm trying to build an URL which will direct the user to their Google Calendar and will show the create event page with predefined values. I've managed to build the URL that will create an event only for a particular day. My problem is how can i add multiple dates in the same URL?
My generated URL is as follow:
https://www.google.com/calendar/render?action=TEMPLATE&text=New+Dynamic+Event&dates=20141204T073000Z/20141204T100000Z&details=Calendar+Details&location=My+Event+Location&followup=https://www.google.com/calendar&scc=1&sf=true&output=xml
This will create an event on 2014/12/04. How can i add more dates to this URL so that the event will be created on multiple days?
You cannot create multi date event in google calendar but you can insert the same event on different dates. Also, you can try using recurring events. However these type of events has patterns like weekly,monthly..
If you just provide the day date parts like
&dates=20170127/20170129
then this will raise the form with dates 2017-01-27 until 2017-01-28, and the 'all-day' box checked.
One day must be added to the date range.
I'm trying to work with the ASP calendar control and (for starters) highlight the specific days on the calendar that matches DueDate in the 'task' table. I know how to highlight a cell using the DayRender event, but how do I do this in accordance to the database table?
Would then also like to be able to click on the highlighted cell and see details of the task associated to that date in some sort of box next to the calendar.
Any pointers on how I can solve this?
Pseudo-code:
Determine your desired date range (probably a certain month)
Read all the tasks that have due dates within that date range (probably need Name and DueDate at least)
In your DayRender handler you check if current day's date exists in the loaded tasks's due dates, if it does, highlight it with the color of your choice
In you SelectionChanged handler you obtain the selected day's date, and look through the loaded list of tasks for any tasks that have that date as their due date, and populate whatever box with those tasks.
I am fairly new to Drupal and I am trying to create a simple content type where people can add their schedule for today.. for example from 2PM tot 4PM that person has to go to the gym.. So 2 dropdowns, 1 for every hour (2PM&4PM) and adding a textfield to that for "going to the gym" and the possibility to add more tasks.. (multiple values per day)
Any advice? Maybe a module or creating a custom field? Thx in advance.. :)
If you want to create a content type "daily schedule" and attach multiple events to it (like 14:00 Gym, 16:00 Beer with friends), I would propose Field collection. It would allow you to group time field (either simple numerical field or Time field with text field.
Hope that helped!
I will suggest you to go with contributed module intended to handle this kind of requirement. As per my understanding, you want to make functionlity for user to create their TODO list & there is a module which can do it easily for you - myTinyTodo.
Otherwise above answer is also good option to use field_collection.
I would suggest content type + date module + calendar module.
install & enable Date Module. You will be able to add a date field to content type
Add new content type "Task"
Add 2 date fields "start" (2PM) and "end" (4PM) to your content type.
Users will be able to add as many tasks as they want.
And finally, you can use Calendar module to preview task's list.
I have a event data which contains startdate and end date , i want to see the calendar holding that event,now what is happening is it is showing the current week calendar ,but if my event having previous week satrtdate means i have to go to previous week and and i can able to see the event data in calendar..but i want to focus that date calendar at first shot itself..pls do the needful its urgent, i think i have to change something in fullcalendar.js but i dont know where to change pls do needful
Check the documentation for FullCalendar... http://arshaw.com/fullcalendar/docs/current_date/
This shows parameters that can be set to get the calendar to initate at a particular date.. by default it will always start at todays date.