i need to create a START AND END DATE calendar (no next and previous months links) and populate the values with dates including patientname & caregivername etc, for user to print it. I am generating the weeks in a dropdown for eg:
09/02/2012 - 09/08/2012
09/09/2012 - 09/15/2012
09/16/2012 - 09/22/2012
09/23/2012 - 09/29/2012
09/30/2012 - 10/06/2012
user going to select only a week range. according to user selection i need to create a calender which will populates the value inside the calender. So, after running a query i'm getting the startdate, enddate, patientname,caregivername and the visit dates.
so if the start date 9/2/2012 is end date is 9/8/2012, then system will generate the september calender, and the visit dates are 9/3/2012, 9/6/2012, 9/8/2012 then it will populate the values in it.
if the start date 09/30/2012 is end date is 10/06/2012, then system will generate the september/october calender, and if the visit dates are 9/30/2012, 10/5/2012 then it will populate the values in it.
the screenshot of required calender is also attached with this question. any help, comments or feedback would be deeply appreciated.