calendar control questions

R

Rob

any help appreciated on the following.

1. I can't get the selected date to be set through code, I need a
certain day dynamically based upon parameters to be highlighted (the
same way a day gets highlighted if you click on the day yourself), I
have tried using calendar.selected=highlightdate and
calendar.selecteddates.add(highlightdate), but no error and it doesn't
highlight the date I want, what am I missing?


2. how do you use the DataBind method of the calendar without a
datasource?

any help appreciated.
rob
 
S

Scott M.

Rob said:
any help appreciated on the following.

1. I can't get the selected date to be set through code, I need a
certain day dynamically based upon parameters to be highlighted (the
same way a day gets highlighted if you click on the day yourself), I
have tried using calendar.selected=highlightdate and
calendar.selecteddates.add(highlightdate), but no error and it doesn't
highlight the date I want, what am I missing?

CalendarControl.SelectedDate = param <--- this must be a valid date
2. how do you use the DataBind method of the calendar without a
datasource?

You don't.
 

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

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top