in

C1 Community

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

error, when I selected to a month and different year, from where is the button today, ok and cancel

Last post 08-09-2007 5:03 PM by LOBO_SUELTO_. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-01-2007 9:38 PM

    error, when I selected to a month and different year, from where is the button today, ok and cancel

    Hello

    I attached an example of the error

    when I selected to a month and different year, from where is the button today, ok and cancel and then I press the button press here for postback send me an error.

    Sorry about my english

    Thanks

     

  • 08-02-2007 4:45 PM In reply to

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

    Re: error, when I selected to a month and different year, from where is the button today, ok and cancel

    I can't seem to replicate this error.  Can you post the exact steps to replicate this?


    I don't get any error, but I notice that after I click "Press Here" one time, the value of C1WebDateEdit1 will not update when I select a different date.

    To fix this I added the following between the <head> tags

    <script type="text/javascript">
    function Calendar_SelChange(calendar, seltype, seldates)
    {
        if (window.edit)
        {
            window.edit.set_Date(calendar.SelectedDate);
        }
    }
    function C1WebDateEdit1_OnClientCustomButtonClick(aC1Edit)
    {
        window.edit = aC1Edit;
    };
    </script>


    and set these Onclient commands

    C1WebDateEdit1.OnClientCustomButtonClick = C1WebDateEdit1_OnClientCustomButtonClick
    C1WebCalendar1.OnClientSelChange = Calendar_SelChange

    That fixes the problem I was having with your sample.

    regards,
    -Greg L


  • 08-02-2007 9:28 PM In reply to

    Re: error, when I selected to a month and different year, from where is the button today, ok and cancel

    Thanks for reply

    I attached a short video with the steps. The proyect is the same.

     

  • 08-07-2007 10:13 PM In reply to

    Re: error, when I selected to a month and different year, from where is the button today, ok and cancel

    Hello

    sorry but I need this. I can't use c1webcalendar with this error, do you want anything else from me for fix it, maybe is samething about the datetype. I don't know if you saw the video that I atached.

    Please help

     

  • 08-09-2007 10:59 AM In reply to

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

    Re: error, when I selected to a month and different year, from where is the button today, ok and cancel

    Hi,

    Thanks for making a video. I now see that this is a javascript bug due to the WebCalendar being inside an UpdatePanel.

    I've sent this issue to the developer for a fix.

    Regards,
    Greg L
  • 08-09-2007 5:03 PM In reply to

    Re: error, when I selected to a month and different year, from where is the button today, ok and cancel

    Thank you for your help Greg.
    I will be waiting for the result.
     
    LOBO_SUELTO_
    C1 is the best.
     
     
Page 1 of 1 (6 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.