Questions Tagged how-to
How to call a java script on the callback of DayPilotCalendar1_TimeRangeSelected event
Hi Dan, Can u tell me how to call a java script on the callback of DayPilotCalendar1_TimeRangeSelected event. Expalin with example regards Poting
Range selection menu (add event)
Hi, I've a menu for my range selection. There I want to add a new event over the post back action, but I get the following java script error: 'this.parentNode.event.root' is Null or not an object I t...
To Copy Event Data from the RightClick on the event
To copy the data of the event from the click of a button (This button is appeared on the right click on the event
How to disable scrolling in DayPilotScheduler (v4.0)
Hi , How can I go about disabling scrolling for the Scheduler control? I only want people to be able to see and schedule things between 7 am and 3 pm... Thanks, K-
Add an event with a javascript function
Is there a possibility to add an event in the calendar with a javascript function addevent(start,date,data) ? Of course this event will not be stored in the database and it is not my goal, it is only...
style individual events
Is it possible to style individual events after databainding? I'm using daypilot light
Only allow users to edit their own events
I am using the Scheduler asa shared calendar for booking resources. So I don't want one user to be able to edit another's bookings. Is there a way to go aboutdoing this? Thanks!
How to create dynamically the calendar
Hi, I need to create a calendar dynamically in C#. How can I proceed without accessing to asp.net page? A simple example would be highly appreciated. Thanks for your help
printing out a calendar
Hi there, I want to print out the calendar, how do i do this so it only prints out from 0700 to 2100? Thanks Spencer
modify isThereEvent method
Hi I need the daypilot to recognize all events in my database. How can I modify the "isThereEvent" method to show that there is an event on all days specified in my database and not just today, tomor...
Reducing the Height of Day Pilot Control
Hi : I would like to reduce the height of the day pilot control as there are too many scroll bars on the web page Please help me to resolve this. Here is the code for my Day Pilot Control. <DayPilot:...
Issue in EventClickJavaScript
Event Render I got some issue at EventClickJavaScript. The code below assigning the EventClickJavaScript property based e.value. Example: A person got Ticket and Opertunity in same day. Case 1 Time U...
Unbinding DayPilot
Answered: You can try binding to an empty DataTable: DataTable dt = new DataTable(); dt.Columns.Add("start", typeof(DateTime)); dt.Columns.Add("end", typeof(DateTime)); dt.Columns.Add("name", typeof(string)); ...
Return specified days from database
Hi, I am using daypilot lite 2.3. I managed to connect the daypilot to my database but all events are rendering on one single day, todays current date. How can I render the events based their own spe...
Event Resize
Hi, Still no luck The code as follows: protected void DPC_EventResize(object sender, DayPilot.Web.Ui.Events.EventResizeEventArgs e) { DayPilotCalendar d = sender as DayPilotCalendar; if (null != d) {...
help again
Hi Dan, Thank you for answering to my earlier questions all Help again: 1) Events not displaying when change the calendar date (if the control inside the table cell). Please refer below working and n...
Start Date from Calendar
if (c is DayPilotCalendar) ((DayPilotCalendar)c).StartDate = Calendar1.SelectedDate; } foreach(Control c in this.Controls) if (c is DayPilot.Web.Ui.DayPilotCalendar) ((DayPilotCalendar)c).StartDate =...
12 hours - 24 hours adding to database
Hi Guys, I wander if any of you have had the same problem... I am using the TimeRangeSelected method and even though I have opted for 24 hour clock it gives me a datetime back of 2007-07-16 01:00:00 ...
How do I delete an event?
I am new to DayPilot Pro and I want to know how do I delete an event in the calendar. I have set the delete property up(by checking it in the properties view).
Event Click JavaScrip Dyanmically
Hi, I am creating the DayPilot control dynamically and assigning all the property as well. But how to assign the event click JavaScrip Daynamically? dpc.EventClickJavaScript= "document.location='wfTi...
Popup on click of header
I am using Daypilot 3.7.1. I need to open a popup on click of header . I tried it by modifying Dayplot proerties with HeaderClickHandling="JavaScript" HeaderClickJavaScript="openHeaderPopup(e);". I h...
How to use?
I just downloaded trail versions but I cannot find any document that how to use the control. How to display events in the DayPilotCalendar? I got data in the dataset. The new page need to open if the...
How to get Appointments in Correct Column in Resources View
I have 3 columns, in resources view, and when I run a sql query it loads every appointment inall columns.
Calender event text and hover text
What is the best way to insert a line break in the text for an event. Using an html line break <br> does work however the text that is displayed with you mouseover and event also shows the <br>. Is t...
Calendar Control left display hours
Is there a way to choose not to display Non-Business hours. I would like Just 7am - 9pm to display. Control drawing slowly. Trying to alleviate that. Thanks
Deletion of events
Answered: Here are the results of our private discussion: 1) The confirmation dialog can be added by switching to JavaScript handling and calling the callback manually: EventDeleteHandling="JavaScript" EventDe...
Testing for Overlapping Events with SQL
Answered: As far as I know, without the NOT that would be. SELECT eventid from events WHERE((event_end >= '" & newEventStartDate & "') AND (event_start <= '" & newEventEndDate & "'));" This is exactly the same
How can I change the dysplay time periods from hours to half hours or 5 minutes periods?
How can change the dysplay time periods from hours to half or 5 minutes periods?
Popup on click of event
Answered: The 'e' variable was introduced in DayPilot Pro 3.6 In previous versions only 'id' and 'tag' variables are available and you should use: EventClickJavaScript="window.open('MonthDayView.aspx?id=' + id...