Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Highlighting a row on selection of day in calendar

  Asked By: Darcy    Date: Mar 30    Category: Asp.net    Views: 765
  

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.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Highlighting a row on selection of day in calendar Or get search suggestion and latest updates.




Tagged: