Is my approach right?

  • Thread starter Thread starter Diffident
  • Start date Start date
D

Diffident

Hi All,

I would like to customize the ASP.NET's calendar control so that if there
are any events for a particular day it would highlight/bold that day in the
calendar. I use a custom business logic to get the events which is not a
problem.

To bold the days that have events, I am developing a custom control and
overriding the OnDayRender event so that I add the "font-weight:bold"
attribute to the "cell" if there are any events on a particular "day".

Is my approach correct or are there any other better approaches?

Thanks!
 
Hi There,

You can try day render event of Calendar control and check your condition!
 
If you read my post carefully you would have noticed that I am using the same
event that you suggested. I wanted to check if that was the right approach or
not!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

css question 9
A non OO programmers approach.... 1
Building a timeline 3
Best Approach for Membership / Profile Information 2
calendar event sequence 1
Bubble Event 2
calendar dayrender event... 1
Outlook Outlook 2007 Font 0

Back
Top