I have a requirement to build a calendar control that when the user clicks a date it toggles through three possible states with each click: All Day/AM/PM.
So when the user clicks the date for the first time the state of the date clicked will be "All Day", a second click with result in the state of "AM", the third click "PM" and the fourth will result in the date no longer being selected.
Any suggestions would be a great help.
I've tried the OBOUT ASP.NET controls but I can't quite get it to work how I need it.
I've spent the day developing my own custom control. Thanks for those that took the time to look and more thanks to those for suggestions.
Related
I am trying to find out how to disable the date click within a cell while in the month view. I cannot find it in the documentation on the site. I only see dayRender and disabling the entire cell. I just need the date itself not the cell. I needed selectable to be true for the calendar just not this piece.
Is there a event/render that I can get to in full calendar to stop this from going to the day view? Thanks for any help that is provided.
I've created a page where all the booked appointments showing in a table with four buttons for each one, show on calendar, edit, delete and not_accepted .
The edit, delete and not_accepted buttons i can handle them very easily, but i don't know how to show the clicked event on the calendar which exist under the table, lets imagine that i clicked show on calendar on one of the booked appointments the page will be scrolled down a little bit and the calendar should took me to the event, so its similar to a slider but i don't have to click next to see where is the event exist by date for example .
I am feeling that jsEvent coordinates would help some how !!, but really don't know how to do it .
Please any help .
I have a particular condition if which fulfills,
then if I click on my calendar UI image, a small popup calendar opens up but
with only last date of each month enabled. Rest all the dates are
supposed to be disabled. But I have no idea how to enable only the last date
of each month as it is supposed to be kept dynamic as the last date of each month is different. So, delayedDates doesn't seem to be an option for me.
I am using a Ajax calendar control to pop up calendar from text box, want to display the week number in the calendar control itself, after user selects a week in the week mode (SelectionMode="DayWeek"), would like to display that week number in the text box. Preferably looking to implement using asp.net calendar control not jQuery.
Appreciate any assistance.
Thanks
Thought not to use the jquery, due to the ease and so many folks having solution out there i found the solution.
http://jsbin.com/eliki/16/
one of the issue is the the SQL server week (mostly in US) starts from Sunday, but iso8601Week starts from Monday, I did work around this by placing the weekend towards the end and disabling. Let me know what you think of the solution or have better solution out there.
http://jsbin.com/eliki/16/
Ujjwal
Has anyone had any problems with the updating of the time value when using Vaadin DateField (or PopupDateField)? Whenever a new time is selected from the time drop downs located at the bottom of the popup calendar, the date textfield does not update with the new time selected. Only the day value updates properly when a different day is selected from the calendar. I have registered a Property.ValueChangeListener with my DateField, and through debug I've found that the valueChange() method is only entered when a different day is selected from the popup calendar (and hence updates value in textfield), and not when a different time is selected from the time drop downs. Is this a bug with Vaadin DateField? Or is there a workaround?
Any help would be much appreciated! Thanks in advance!
Cheers,
gc
See http://vaadin.com/forum/-/message_boards/message/216876 for answer.