search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged how-to

Select, Insert, Update and delete with my own methods

Hi, I have my own methods to delete, insert, these methods need x parameters to work, how properties of the DayPilotcalendar which I link to my methods?, i.e, to select would be DayPilotCalendar1.Dat...

Custom ContextMenu on CellRender DayPilotMonth

Answered: This is not yet implemented but I will take a look at it.

Enable specific hours in a day

Answered: In the scheduler, you can choose to display only selected fragments of a day using IncludeCell event: http://doc.daypilot.org/scheduler/hiding-time-columns/ It's also possible to create the timeline ...

Event Customization

When events change (ex: start time or name of event), how can I hi-light the event to show a different color from the other events so users know an event has changed? I looked at the documentation on...

How to make customized navigator

Answered: Please take a look at this guide: http://doc.daypilot.org/month/manual-date-switching/ You can bind any kind of navigation controls (plain links, drop-down list, etc.) using .commandCallBack() method...

OnEventMoved

Answered: It seems the lite version doe snot support this. I am now using the prod and it works,

onEventMoved preventDefault

Answered: Solved. The main problem that I used ajax updating of event that desynchronise move and moved events.

How to update through MySQLi

Answered: Can you try to download the sample PHP project from here? http://code.daypilot.org/17910/html5-event-calendar-open-source The downloads include a working PHP project with all the features working. Pl...

to define enddate property when using export method of scheduler control?

Answered: You can set the visible range using Days property. Just set is as needed before calling Export().

Event ToolTip display speed slow

Can we accelerate the event's tooltip display speed ?

How to disable right-click menu when using frame

Answered: Hi.. It's solved by using javascript to disable the default context menu. Thank you.

Scheduler: drag event to new resource, but keep times

Answered: You can disable horizontal drag and drop event moving using BeforeEventRender event handler: http://doc.daypilot.org/scheduler/limit-event-moving/

different durationbar color ?

Answered: You can change the duration bar color using BeforeEventRender: http://doc.daypilot.org/calendar/event-customization/ This event is called for every event. If you request a calendar refresh after savi...

How to change the default holiday in schedular Control?

Answered: You can modify e.IsBusiness status for individual cells using BeforeCellRender event handler. See also: http://doc.daypilot.org/scheduler/cell-customization/

Add / Edit Events save to database

I downloaded DayPilot lite 2.0 and I am trying to integrate it our Visual Studio ASP.net 2.0 with c# project and SQL Server database to verify before we migate to Visual Studio 2012 in about 5 months...

Set dps.startDate and dps.days via javascript

Answered: You should call .update() after changing startDate or days. This is an example from the the navigator integration demo: http://javascript.daypilot.org/demo/scheduler/navigator.html See onTimeRangeSel...

How to prevent event dragging and resizing

Answered: You should set the .moveEnabled property on the DayPilot.Event.data object, not on DayPilot.Event directly: var e = new DayPilot.Event({ start: "2014-03-25T00:00:00"), end: "2014-03-25T12:00:...

Manual add menu item in DayPilotMenu

Answered: You can specify the menu items in the code behind using DayPilotMenu.MenuItems property: protected void Page_Load(object sender, EventArgs e) { DayPilotMenu1.MenuItems.Clear(); // <DayPilo...

Context Menu for multiple selection in DayPilotMonth

Hi.. Is it possible to show Context Menu on the right click for multiple selection in DayPilotMonth? I have set for DayPilotCalendar, it works.. but not for DayPilotMonth.. Here the properties that I...

DatasourceID return as string vaule

Basically i used they following code to get the string in the cell field EventInfo ei = DayPilotCalendar1.SelectedEvents[0]; string evnt = ei.Text; But i would like to get the DatasourceID of the fie...

How to preserve calendar data on page?

Actually when I select calendar date then calendar then calender data did not show on page. Pls help to solve this.

How can I show calendar sunday to saturday in daypilot month calendar?

Answered: Use WeekStarts="Sunday". See also: http://doc.daypilot.org/month/first-day-of-week/

How to move an event programmatically?

Answered: If you modify the event in .events.list and call update() it should be updated properly (as all events will be redrawn as part of the update). See also: http://api.daypilot.org/daypilot-scheduler-upd...

Passing Data to OnEventMove with e.Data

Answered: e.Data holds custom data sent from the client side when invoking the EventMove event manually using .eventMoveCallBack(). See also: http://api.daypilot.org/daypilot-scheduler-eventmovecallback/ If yo...

How to set color multiple selection in DayPilot Month

Answered: You can use CellSelectColor property to specify custom cell selection color. This is one of the few elements that can't be styled using the CSS theme. It will be added to the themes soon.

Export WYSIWYG

Answered: For true WYSIWYG export including CSS you need to use a browser. Take a look at PhantomJS: http://phantomjs.org/ It works very well but it's a standalone process (no native .NET support).

DayView change the start date to dynamically get value from calendar control

Answered: 1. If you want to use <asp:Calendar> control you will need to place both controls inside an UpdatePanel. In the Calendar.SelectionChanged event handler, call: DayPilotCalendar1.StartDate = Calendar...

My big font size text cannot display all text because timing is too short.

Answered: You can insert custom HTML into the event cell so it will add a scrollbar (see overflow: auto). You can also increase the cell height using CellHeight property. See also: http://doc.daypilot.org/cale...

How to set DayPilot calendar DayBeginsHour and DayBeginsHour dynamically

Answered: Not all properties are synchronized during the CallBack update - forcing the full update using DayPilotCalendar1.Update(CallBackUpdateType.Full) doesn't help. 1. You can place the Calendar control in...

Using div in bubble

Answered: It looks like your styles use position: absolute. This causes the bubble HTML content to be taken out of the page flow - it doesn't extend the bubble div height. Try using position: relative instead.
Previous Questions 2041-2070 of 3096 Next