in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

C1WebSchedule and C1WebCalendar in two different pages

Last post 12-12-2007 5:08 PM by C1_GregL. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-12-2007 9:46 AM

    C1WebSchedule and C1WebCalendar in two different pages

    Hi,

    I want to insert C1WebSchedule and C1WebCalendar in two different pages.
    Since these controls need to comunicate.
    Can this work?

    The property from C1WebSchedule SelectedDates is readonly.
    How can I insert more than one selected dates?

     

    Thanke you

    Michael

  • 12-12-2007 5:08 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 431

    Re: C1WebSchedule and C1WebCalendar in two different pages

    >>I want to insert C1WebSchedule and C1WebCalendar in two different pages.

    You can use session variables to save the selected date across any number of pages

    Page 1 with WebCalendar:
    Session("Date") = C1WebCalendar1.SelectedDate

    Page 2 with WebSchedule:
    C1WebSchedule1.SelectedDate = Session("Date")

    >>The property from C1WebSchedule SelectedDates is readonly.
    How can I insert more than one selected dates?

    You can add to the dates collection: C1WebSchedule1.SelectedDates.Add(Session("Date"))

     

    Hope that helps,
    Greg L

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.