ASP.NET: CSS friendly calendar control

Posted by pbz on Stack Overflow See other posts from Stack Overflow or by pbz
Published on 2010-05-13T01:57:34Z Indexed on 2010/05/13 2:04 UTC
Read the original article Hit count: 250

Filed under:
|
|
|

I'm using the built-in Calendar control. It works, but in a few places the way the HTML is rendered is broken or not CSS-friendly and unfortunately cannot be changed (it's hard coded). I was hoping they would fix this in .NET 4.0, but as far as I can tell the Calendar control hasn't been changed at all. Also, as far as I know, there's no CSS adapter for the Calendar control.

So, I would need a control that would:

  • Allow me to customize the content of each cell (like OnDayRender works)
  • Allow me to assign CSS classes to any HTML it may render
  • Not render anything automatically that cannot be turned off, except layout code
  • No auto-postback or auto-JS code (I can handle these by hand using simple links or custom JS calls)

Basically a simple calendar view control that would give me full rendering control.

What would you recommend?

Thanks!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about calendar