Questions Tagged how-to
A control with ID 'UpdateTimer' could not be found for the trigger in UpdatePanel 'TimedPanel'.
Answered: This is not enough information to give you an answer. It depends on the location of the UpdateTimer. A few hints: 1. Please see: http://stackoverflow.com/questions/6667398/a-control-with-id-could-not...
How to wrap detail text on Calendar Control?
Answered: In the Calendar control (http://www.daypilot.org/calendar.html) the text should be wrapped automatically. You can force a new line by inserting "<br/>" (use e.InnerHTML in BeforeEventRender event han...
include a textbox value in the postback when the cursor is still in the textbox
Answered: I fixed this by using TimeRangeSelectedHandling="PostBack" instead of CallBack Thanks for a great scheduler control!
How to add resources columns to the calendar
Answered: Hi Martyn, In the Calendar control (http://www.daypilot.org/calendar.html) you need to use Columns property:
DayPilotCalendar.Columns.Add(name, id);
You can also define custom date for each colum...
Can't be able to select cell when event assign to cell.
Answered: You can control the row/column size and margin using the following properties: 1. Calendar (http://www.daypilot.org/calendar.html) ColumnMarginRight http://www.daypilot.org/calendar-column-margin.htm...
How to set the resource (scrollY) position.
Answered: On the server side, ScrollY and ScrollX properties are available. They hold the scroll position in pixels and you can update them (don't forget to call Update()). On the client side, you can read the...
How change header in schedular
Answered: Yes, you can do it using BeforeTimeHeaderRender event. See also here: http://www.daypilot.org/daypilotscheduler-header-date-time-format.html
EventStart/End display on DayPilotMonth with ext overlapping?
Answered: Please try to add this: EventTextLayer="Top"
Error - The Request must start with JSON string
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...
Simple Database Question
Answered: Hi brandon, Yes, you can load the data directly to Events property. It accepts any IEnumerable. You only need to map the object properties using DataIdField, DataStartField, etc. See an example (usin...
How do I empty a DayPilot calendar please?
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.
How do I collapse all day events into single row?
Answered: You will have all these features if you upgrade to the Pro version: http://www.daypilot.org/buy.html
How do I disable all pop-ups?
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...
How to disable event time on DayPilotScheduler?
Answered: Until the special switch is added to the Scheduler it can be customized using BeforeEventRender event handler:
protected void DayPilotScheduler1_BeforeEventRender(object sender, DayPilot.Web.Ui.Eve...
How to set calendar to show current date?
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.Star...
VB .Net and no database.
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...
add children to resources in daypilot shedular
Answered: Please see here: http://kb.daypilot.org/10298/how-to-load-scheduler-resource-tree-from-a-database-sql-server/
How to put the current date as first view on the DayPilotScheduler?
Answered: You can do it using SetScrollX() method: protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DayPilotScheduler1.SetScrollX(DateTime.Today...
How to show DayPilot:DayPilotScheduler Bubble using JavaScript
Answered: Please see here: http://kb.daypilot.org/29719/how-to-show-a-calendar-event-bubble-using-javascript/
how do i open bubble on Click activation i m using earlier version of daypilot (5.8)
Answered: See here: http://kb.daypilot.org/29719/how-to-show-a-calendar-event-bubble-using-javascript/
DayPilotBubble1_RenderContent in VB
Answered: The direct equivalent of "e is MyType" would be "TypeOf e Is MyType": If TypeOf e Is RenderEventBubbleEventArgs Then Dim re As RenderEventBubbleEventArgs = TryCast(e, RenderEventBubbleEventArgs) ... ...
Side Scrolling Problem Persists
Answered: I figured it out. I put the Calendar inside a div with TEXT-ALIGN set to left. That ran the whole calendar to the left of the screen, then I put it into a table that was centered and the problem went...
How to limit Number of months in shedular
Hi, I am implementing daypilot shedular control in my asp.net application. But it display data from January to December. How do i retrict the shedular to show data up to specific moth e.g. How do i i...
Daypilot paging and sorting
Hi, I am bit confused to found is it possible paging and sorting in daypilot shedular if yes please give me some ideas for how do i achieve it. Thank You
Customize Header in
Answered: You should use the following settings:
CellDuration="10080" (one week)
CellGroupBy="Month"
You can customize the header HTML using BeforeTimeHeaderRender event handler. See also: http://kb.daypi...
Does recurring events support "every third monday of the month" ?
I'm looking at the DayPilot calendar control for a client project. The recurring events feature works very well, but I can't find any documentation on scheduling a recurring event on the 'x' day of e...
Hide Calendar Hours when exporting to image
Answered: It looks like a bug. Please let me check it. As a workaround, you should be able to copy a portion of the result image (DayPilotCalendar.Export()) using this Graphics.DrawImage() overload: http://msd...
Show scheduled time in an event
I have an application where my clients can setup different events for when they are available and then their clients can schedule lessons during those events. I am trying to find a good way to show o...
Integrated Message Bar
Answered: Please see http://forums.daypilot.org/Topic.aspx/1633/calendar-integrated-message-bar