DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Features » CSS Support / Additional data for events

CSS Support / Additional data for events

Hi. Great control, but two additional features would be nice: * (Better) CSS support CSS classes instead of style-attributes would be nice! Advantages: less html code, better readability of generated html, ... * More (at least one) data for events.. I would like to display more than just a "title" and the date of the event. Something like a description field would be nice. Example: Eventname: Birthdayparty Eventstart: 01.01.2008 18:00 Eventend: 02.01.2008 23:00 Eventdescription: blahblah birthdayparty .. blahblah .. fun fun .. Rendered: ----------------- - - - | Birthdayparty (18:00 - 23:00) | blahblah birthdayparty .. blahblah .. fun fun .. --------------------------- - - - Sincerely yours, Alex
crazy-weasel - 2/5/2007 3:39:21 PM
Oh, sorry.. didn't know that there is no linebreaking without html code.. Just look into the html code.. there it is nice formated. :)
crazy-weasel - 2/5/2007 3:41:58 PM
I think I get it even without the line breaks. ;-)

1. CSS classes. Hmmm, CSS classes are really useful when you create a website. But here, I usually only use a style in one place. Custom changes of styles made by the user (developer) would be difficult anyway as there are too many dependencies and specific browser tweaks. So the only benefit I can see is smaller HTML output. If you are going to sponsor that, fine, let me know.

2. More event data. I think the best way to solve this would be to create an event that would be called for rendering custom event content, something like System.Web.Ui.WebControls.Calendar.DayRender.
Dan Letecky - 2/5/2007 4:01:34 PM
Okay, css classes aren't that important, and different styles within one website can be implemented with themes and skin files.

Event Data / DayRender
Do you implement such feature into your next release?
crazy-weasel - 2/5/2007 4:28:14 PM
Yes, I'd like to include it soon.
Dan Letecky - 2/5/2007 7:11:18 PM
cool.. :)
crazy-weasel - 2/5/2007 8:12:42 PM
Please let me know do u add this feature in 2.1 sp3 version or in any free source version.i need it very urgently.
or give me suggestion how to achieve it.

Regards
Gourav
Gourav Rana - 3/9/2007 6:17:39 AM
This feature won't be available in DayPilot Lite.

If you need the feature you can tweak DayPilot Lite yourself or buy DayPilot Pro. I believe DayPilot Pro is worth the money - you don't have to spend your valuable time modifying code that was written by someone else and you will get a lot of new features in the near future - see the roadmap.
Dan Letecky - 3/9/2007 10:34:04 AM
i am an trainee programmer in india i cant afford ur daypilot pro.
can u give me free suggestion.
by the way u already give me lot of help thanks.

You are from which country.
Gourav Rana - 3/9/2007 3:39:45 PM
Sorry, I can only recommend studying the source code of DayPilot Lite.
Dan Letecky - 3/9/2007 6:50:07 PM
Post reply