in

C1 Community

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

SelectedDate wrong!

Last post 09-13-2007 5:30 PM by C1_PatrickS. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-12-2007 5:48 AM

    SelectedDate wrong!

     Hello,

    I'm trying your objects (WebCalendar and WebSchedule), but there's a problem: they doesn't return the correct selected date.

    I'm using the SelectedDate proprety but if I select a day in the WebCalendar or WebSchedule doesn't change the value of SelectedDate.

    Only I change the ViewType then change the value (I insert in the page three botton that at OnClick event change the ViewType ).

    How can I have the true selected date?

    Thanks 

  • 09-13-2007 5:30 PM In reply to

    Re: SelectedDate wrong!

     In C1WebCalendar's property grid, change the AutoPostBackOnSelect property to True to post back to the server when you select a date on the calendar.
     
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Response.Write(Me.C1WebCalendar1.SelectedDate().ToString())

    End Sub

    shows the date selected in C1WebCalendar to the page.

    Regards,

    Patrick

    <elisabisello> wrote in message news:198337@10.0.1.98...

     Hello,

    I'm trying your objects (WebCalendar and WebSchedule), but there's a problem: they doesn't return the correct selected date.

    I'm using the SelectedDate proprety but if I select a day in the WebCalendar or WebSchedule doesn't change the value of SelectedDate.

    Only I change the ViewType then change the value (I insert in the page three botton that at OnClick event change the ViewType ).

    How can I have the true selected date?

    Thanks 



    http://helpcentral.componentone.com/cs/forums/p/73078/198337.aspx#198337

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