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

Questions Tagged how-to

Scroll to resource (Client-Side)

Answered: Since build 2668 you can do the following: dps.scrollToResource("C"); You can download the latest build in the sandbox: http://www.daypilot.org/sandbox/ See also: http://www.daypilot.org/daypilot...

Displaying from other table

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(...

Calendar Day Colour

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...

How to customize the column header of calendar control?

Answered: The automatic height adjustment is available since 7.1 release (HeaderHeightAutoFit property): See the release notes: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html Demo: http://w...

How Do I Export A Calendar With Events Populated From a DB?

Answered: You should load the events before calling Export: DP_MonthCalendar.DataSource = yourDataTable DP_MonthCalendar.DataBind() Dim img As System.IO.MemoryStream = DP_MonthCalendar.Export(System.Drawin...

protected DataTable getData()

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...

Set parent resources background color

Answered: This ability to customize cells is not yet implemented in the CssOnly mode. It will be available in the next release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html As soon as it ...

loadResources error

Answered: You are trying to connect to Microsoft SQL Server using SQLite ADO.NET adapter. You need to replace "SQLite*" with "Sql*".

Use Duration Bar as "Percent Complete"

Answered: It's now implemented in the latest sandbox build (2662). See here: http://www.daypilot.org/sandbox/Scheduler/PercentComplete.aspx Use DurationBarMode = "PercentComplete" and e.PercentComplete = 50; i...

Changing the Color performance

Answered: Your code won't compile, since you never assign the variable "res" to anything. It also won't work, since only the cells matching the last row in the table will be set to business hours. If you're lo...

BeforeCellRender

Answered: It's now fixed in build 5425. See the sandbox: http://mvc.daypilot.org/sandbox/

Style day of events.

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...

GetData from SqlDataSource

Answered: Yes, you can use DayPilotCalendar2.DataSourceID = "SqlDataSource1";

Mak the Event a clickable Link

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...

How do I change the colors of the event headers in version 7?

Answered: Duration bars are now (7.0.2647) supported in the CssOnly mode as well: http://www.daypilot.org/sandbox/Scheduler/ThemeGreenWithBar.aspx They are fully stylable. An example from scheduler_green.css t...

Right click DayPilotMenu not open in IE9

I am new to day pilot scheular, I am evaluating day pilot light version. I have added following events, to view the context menu in time range section. It work fine with IE8 and FF. but. Nothing happ...

When I resize an event in the scheduler while the mouse is over the event I trigger the edit box

Answered: Fixed in Version 7 :)

Recurrence repeats

Is there a way to modify the repeat action to mirror the repeat period context? i.e. if for example I select weeekly Mon / Tue and set repeat 2 times I get 3 events in the calendar, mon, tue and mon....

Year View in Scheduler Lite

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...

Month / DataResourceField Property

Answered: You're right. This property is there because EventMoveEventArgs is shared by all controls. This is not the best design decision but the API change would break the existing implementations. The 7.0 re...

Change text content of an event client side?

Answered: There is a set of methods that allow you to set the client-side properties: e.client.innerHTML("New HTML"); e.client.cssClass("newClass"); e.client.toolTip("New ToolTip"); e.client.backColor("#d...

Problem in export scheduler event data

Answered: You should increase the Width property value during image export or set it to "100%" in order to show the full range (from StartDate to EndDate).

Scheduler Hide Event Times

Answered: The latest sandbox build supports ShowEventStartEnd property with a default value set to false: http://www.daypilot.org/sandbox/Scheduler/ That means the event times are no longer added by default. Y...

Header of Scheduler

Answered: Please see here, this feature is new in DayPilot Pro for ASP.NET WebForms 6.9: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-6-9.html

source does not compile

Answered: It's now fixed in the latest release: http://www.daypilot.org/daypilot-lite-for-asp-net-webforms-3-1-sp2.html

Refresh single scheduler event from javascript

Answered: Of course I found the answer 10 minutes after posting: use commandCallBack() to initiate the refresh

Select all row with Time Range Selection

Answered: Unfortunately, this is not possible at this moment.

Hebrew Calendar

Answered: All the controls allow to override the headers with custom text/html. The internal calculations need to be based on the Gregorian calendar but you should be able to convert each date displayed to Heb...

TutorialDayPilotMonthSql.zip

Answered: As per our discussion, it seems that the issue has been resolved. I'm not able to reproduce this issue either.

Custom event rendering for VB

Answered: Martyn, Please see here: http://www.daypilot.org/scheduler-tutorial-hotel.html Section "Event colors indicating the reservation phase".
Previous Questions 2311-2340 of 3053 Next