calendar help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RJN

    calendar help

    Hi

    I have a calendar control and a dropdown in the page. Drop down has the
    list of all months. When the user either selects a date from a calendar
    or selects a month from the dropdown , I need to populate the grid.
    Suppose the user selects a month from dropdown, then I also need to
    change the selected month in the Calendar. Say the current month shown
    in Calendar is March, user selects July from dropdown, then I need to
    change the month to July in Calendar also. Can I bind the
    selectedchanged event of dropdown to SelectedMonthCh anged even of
    calendar control?

    Thanks

    rjn



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Craig Deelsnyder

    #2
    Re: calendar help

    On Tue, 15 Mar 2005 09:47:13 -0600, RJN <rjn@yahoo.co m> wrote:
    [color=blue]
    > Hi
    >
    > I have a calendar control and a dropdown in the page. Drop down has the
    > list of all months. When the user either selects a date from a calendar
    > or selects a month from the dropdown , I need to populate the grid.
    > Suppose the user selects a month from dropdown, then I also need to
    > change the selected month in the Calendar. Say the current month shown
    > in Calendar is March, user selects July from dropdown, then I need to
    > change the month to July in Calendar also. Can I bind the
    > selectedchanged event of dropdown to SelectedMonthCh anged even of
    > calendar control?
    >
    > Thanks
    >
    > rjn
    >
    >
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it![/color]

    Well, not automatically.. .you'll have to add the code to tie the 2
    together. You'll have to have the ddl event call the calendar event, and
    vice versa, when either of them occurs. However, you'll also need to use
    a flag of some sort to indicate which event originally occurred, so you
    don't get in an infinite loop...

    --
    Craig Deelsnyder
    Microsoft MVP - ASP/ASP.NET

    Comment

    • RJN

      #3
      Re: calendar help


      Thanks for the reply. can you provide some code to do this

      Regards

      rjn


      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...