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

Questions Tagged

Let users know when they already have an event scheduled for a particular time

Answered: There are two possible approaches: 1. Check the new event against the database before saving it. For a simple scenario (i.e. no recurring events) you can use the same logic you use for selecting even...

How to show the different color for the different kind of activity

Answered: You can use BeforeEventRender event handler: protected void DayPilotMonth1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Month.BeforeEventRenderEventArgs e) { string status = (string)...

Is there a way to print a DayPilot Month, Calendar or Scheduler for MVC

Answered: Image export is not implemented for the MVC version yet. It might be available in the 7.2 release.

Date and Time

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

Howto use a theme

Answered: You need to to include the .css file: <link type="text/css" href='Themes/scheduler_white.css' rel="stylesheet" /> Enable CssOnly and specify the class prefix: <DayPilot:DayPilotScheduler ...

Detailsview without a SqlDataSource

Answered: You can use ObjectDataSource instead. See also: http://stackoverflow.com/questions/1735096/using-a-detailsview-without-sqldatasource Alternatively, you can replace DetailsView with individual control...

Popup Window

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

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

Microsoft JScript runtime error: DOM Exception: HIERARCHY_REQUEST_ERR (3)

Answered: This is a bug of the Month control which is fixed in the latest sandbox build: http://www.daypilot.org/sandbox/ The fix will be included in the next release.

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

Javascript Error in Version 7

Answered: This error (Calendar) should be fixed now in build 2657. You can download it in the sandbox: http://www.daypilot.org/sandbox/ The Month control doesn't use a reference to this.nav.mid at all. If you ...

Zero Duration Events broken in version 7.0

Answered: Dan, everything looks good. Thank you for fixing this.

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/

Calendar Refresh

Hi, we refresh the calendar contol whenever a user makes a booking but it takes 8 to 10 seconds for the control to refresh. Has anyone else had this problem, or any suggestions on how to resolve it? ...

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

Dynamic Column Hide of Calendar

Hi DayPilot Team, I am using DayPilot Calendar, I would like an option to only show contacts that have availability or appointments on each specific day. So on Monday you may see John, Mary, & Mike. ...

Asp.net MVC rezor view calender example is not run on my computer

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

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 :)
Previous Questions 3571-3600 of 5184 Next