Let me first explain the page setup.
Page Name: calendar.aspx
Controls on the page:
Control Name
1. tabstrip tabstp1
2. Calendar Cal1
3. Datagrid detailgrid1
4. Datagrid Holgrid
Now basically what this page does is it loads a Calendar in the calendar's
cal1_dayrender I connect to a db return a number of dates and info on those
dates then I color the days of the calendar with the relevant dates that
come from the db. This is so that if one has a quick look at the calendar
you can see where all the dates that have events on them are.
Then I have a data grid below (detalgrid1) with those same dates but with
MORE detail like event time, detail , location etc.
What I would like to do is, when the user clicks on ANY day on the
calendar(I would love to filter out weekends) I would like to search through
the values(days) of the data grid and highlight that ROW which contains the
day, if the DG does not contain the value either print "SOMEMESSAGE" to a
label or have a javascript alert.
Any ideas help I would LOVE to do this with out a post back i.e. javascript
but if one cant then we could do it with a post back , it would be an
intranet application so the post back is VERY quick.