ASP.net weekly schedule control
Asked Answered
I

1

3

Can anyone recommend a free asp.net control that I can use for the following:

  • Weekdays Monday-Saturday along the top row
  • Time of day along left hand side
  • Template fields for the actual data
  • Databindable
  • Cells span the rows based on the start time and end time

Here is a control that I found that is pretty good, but I am trying to find alternatives: Databound Schedule controls

Ignorant answered 31/3, 2009 at 12:56 Comment(0)
D
5

DayPilot is a pretty good general purpose calendaring/schedule control.

The full version is not free, but there is a "lite" version available which is not only free but open source!

Diocesan answered 31/3, 2009 at 13:1 Comment(7)
I downloaded day pilot to try. The problem is that it doesn't show weekdays along the top, but actual dates.Ignorant
@Ronnie - You can alter the "HeaderDateFormat" and set it to a custom value (i.e. "dddd" for just the Weekday name). See the "HeaderDateFormat.aspx" file in the "/demo" folder of the DayPilot Lite download.Diocesan
@Diocesan - Nice! The only thing that I think it's missing is the template for displaying data. It only takes 1 field: DataTextField property. Is there a way to show more than one piece of data? I am going to try and aggregate the data into some HTML and see what the control does.Ignorant
@Ronnie - You should be able to assign some HTML as a string to the DataTextField property as this should display fine within the control. (for example, I tried it with "<h1>Test</h1>" and it displayed the word "Test" in the correct Heading 1 style. Be careful of space, though.Diocesan
@Diocesan - Yes, space ended up being the problem. The cells do not resize vertically to accommodate for the cell content. I ended up using the control that I linked to in the original post. Thanks!Ignorant
@Ronnie - The cells will only take up as much vertical space as for the time they're allocated. I.e. If the calendar "entry" is for 1 hour it will only take up a small amount of vertical space. Obviously, if it's for 5 hours, it'll take more vertical space. If it resized for the content, it wouldDiocesan
affect the time that the calendar "entry" is made for (i.e. extend the time for the entry). However, glad you've found a solution for your problem, and glad to be of some help!Diocesan

© 2022 - 2024 — McMap. All rights reserved.