Answered: You will need to join these two fields in the select command: http://stackoverflow.com/questions/700619/how-to-combine-date-from-one-field-with-time-from-another-field-ms-sql-server But I would recom...
Answered: In the Lite version, the start, end, and column variables are not available in TimeRangeSelectedJavaScript. You need to use {0} and {1} strings: {0} will get replaced by the time range start and {1} ...
Answered: You can customize the event HTML using BeforeEventRender event handler. The original DB row is accessible using e.DataItem property. Example: protected void DayPilotCalendar1_BeforeEventRender(object...
Answered: You need to replace the logic in isThereEvent() with an actual check against your data set. You will need to test for overlaps of the range define by date and date.AddDays(1) with the events. You can...
Answered: See a LINQ example here: http://kb.daypilot.org/56894/how-to-use-daypilot-scheduler-with-linq-to-sql/ var db = new DataClassesDataContext(); var events = from ev in db.Events where !(ev.eventend <= s...
Hello, I have chosen to use the calendar control along with Daypilot as per the examples given in the package. It all works perfectly but I was wondering if it was possible and if so how can it be ac...
Answered: Allan, The "e" object is not available in the Lite edition. You should do it like this: EventClickJavaScript="window.location.href = 'CourseDetails.aspx?CourseID={0}';" "{0}" will be replaced with th...
Hi Team, I am trying to learn about Asp.net MVC rezor view calendar example on the link http://mvc.daypilot.org/mvc-3-razor-calendar-and-sql-server-tutorial-c-and-vb-net/ But this example is not runn...
Answered: Column groups are only supported in the Pro version (CellGroupBy property for one group level and TimeHeaders for multiple group levels, see also http://www.daypilot.org/daypilot-pro-for-asp-net-webf...
Answered: You will see this error if you try to open the backend URL in a browser. In order to show the Calendar you need two URLs (corresponding to two controller actions): 1. The first one will show a view w...
Answered: Martyn, The Scheduler in the Lite version doesn't support the built-in scrollbars and it doesn't support event moving using drag&drop. That's why you can't access SetScrollX() and EventMove event. Yo...
Answered: It looks like the VS 2010 project is outdated. It's now fixed in the code and the fix will be included in the next release. You can try to open it through the VS 2008 solution (DayPilotLite2008.sln) ...
Answered: You can use an empty list as a DataSource: DayPilotCalendar1.DataSource = new ArrayList(); DayPilotCalendar1.DataBind(); This will display an empty calendar without any events.
Answered: Set EventClickHandling="Disabled" to deactivate event click handling and TimeRangeSelectedHandling="Disabled" to deactivate background cell click handling. These properties are new (modified) in DayP...
Answered: You have to do it in the code behind, not in the .aspx page: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DayPilotCalendar1.StartDate = DateTime.Today; DayPilotCalendar1....
Answered: You need to store the list of events somewhere (at least in memory, or in a XML file). This list needs to be persisted between requests. You add the event to the calendar by adding it to the list and...
Answered: In some browsers (especially IE), this can happen if you are trying to display a single long word that doesn't fit the event. This is a problem of how the words are wrapped and it can't be controlled...
Answered: View the object in the object browser. Find the Web.Ui entry can click on 'Events' In the right pane of the viewer click on 'Enable'. That should fix your problem.
Answered: This is not possible in the Lite version. In the Pro version, you should be able to do this by creating a special CSS class and applying it to the event in BeforeEventRender (in CssOnly mode). Just n...
I have included the import specification also in Modal.vb as Imports DayPilot.Web.Ui.Json Imports DayPilot.Web.Ui Still i am getting an error Pleas I am expecting a help from anybody esle Source Erro...
share point recurrence events showing in all the days , though we have set the event to occur every first week of the month. Please share your suggestions in resolving this issue.
Answered: Event customization was not supported in the Lite version until 3.1 release. http://www.daypilot.org/daypilot-lite-for-asp-net-webforms-3-1.html In 3.1 and later versions you can use BeforeEventRende...
Answered: {0} should get replaced with the DataValueField value (EventID in your case). See the following code snippets: DayPilotScheduler.cs string val = DataBinder.GetPropertyValue(dataItem, DataValueField, ...