calendar control questions

Discussion in 'ASP .Net Web Controls' started by Rob, Oct 29, 2004.

  1. Rob

    Rob Guest

    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
     
    Rob, Oct 29, 2004
    #1
    1. Advertising

  2. Rob

    Scott M. Guest

    "Rob" <> wrote in message
    news:...
    > 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.

    >
    > any help appreciated.
    > rob
     
    Scott M., Nov 1, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Natty Gur
    Replies:
    0
    Views:
    884
    Natty Gur
    Nov 10, 2003
  2. Shevek
    Replies:
    3
    Views:
    6,122
    Shevek
    Jun 23, 2004
  3. =?Utf-8?B?Smlt?=

    Calendar control questions

    =?Utf-8?B?Smlt?=, Jul 13, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    349
    Saravana [MVP]
    Jul 14, 2004
  4. Shevek
    Replies:
    0
    Views:
    425
    Shevek
    Jun 23, 2004
  5. Parthiv Joshi
    Replies:
    1
    Views:
    812
    Samuel L Matzen
    Jul 6, 2004
Loading...

Share This Page