in

C1 Community

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

WebCalendar Pop up Mode not working

Last post 07-09-2008 4:22 PM by C1_GregL. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 02-22-2008 12:14 AM

    WebCalendar Pop up Mode not working

    We have updated the ComponentOne controls with newer versions and after that we are facing problem with the C1WebCalendar PopUp mode. The  WebCalendar is not poping out properly, it collapses quickly(it is just like a flash). The AutoCollapse property is also set to true. Do I need to set some other property or implement something else with it?. I am using it with C1WebDateEdit. Please reply ASAP.

     

     

    Thanks in advance

  • 03-04-2008 1:12 AM In reply to

    Re: WebCalendar Pop up Mode not working

    You try setting the AutoCollapse property to false if you do not want the calendar to collapse quickly. could you please send this as a web request from our website www.ComponentOne.com or send it to support@componentone.com?
     
    Regards,
    Patrick
     
    <deboshreeb> wrote in message news:202170@10.0.1.98...
    We have updated the ComponentOne controls with newer versions and after that we are facing problem with the C1WebCalendar PopUp mode. The  WebCalendar is not poping out properly, it collapses quickly(it is just like a flash). The AutoCollapse property is also set to true. Do I need to set some other property or implement something else with it?. I am using it with C1WebDateEdit. Please reply ASAP.

     

     

    Thanks in advance



    http://helpcentral.componentone.com/cs/forums/p/74398/202170.aspx#202170

  • 03-12-2008 4:57 PM In reply to

    • jcsGap
    • Not Ranked
    • Joined on 11-02-2007
    • Posts 6

    Re: WebCalendar Pop up Mode not working

    I'm experiencing the same problem and don't matter if the AutoCollapse property is set to false or true. When it will be solved?

    Regards,

    José Carlos.

  • 03-13-2008 9:39 AM In reply to

    Re: WebCalendar Pop up Mode not working

    I have the same problem. Any response yet?

  • 04-02-2008 5:46 PM In reply to

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

    Re: WebCalendar Pop up Mode not working

    If AutoCollapse = False doesn't work for this issue you can either revert back to use version 20073.48 of C1WebCalendar and connect the 2 controls using the WebCalendar property of C1WebDateEdit. available here http://helpcentral.componentone.com/CS/forums/t/73853.aspx

    Or you can connect them using the javascript methods as demonstrated in the WebCalendar sample site, for which you will need to use build 20073.430 of C1WebInput (attached).  With this approach you can use the latest C1WebCalendar (20073.53) as well.

    regards,
    Greg

  • 04-23-2008 10:42 AM In reply to

    Re: WebCalendar Pop up Mode not working

    Greg

    The WebCalendar sample site flashes, too. 

  • 04-28-2008 4:23 PM In reply to

    • Unifed
    • Not Ranked
    • Joined on 02-19-2008
    • Posts 1

    Re: WebCalendar Pop up Mode not working

    I download the zip file you provide to fix the web calendar month selection issue, it resolved it but now i'm getting the following javascript error.

     dayCell.attributes.daytype.value' is null or not an object Error

    in the following code block (bold line)

    MonthView.prototype.RefreshDate = function(date)

    {

    if (date < this._startDate || date > this._endDate) return;

     

    var offset = (Math.abs(date - this._startDate))/(24*60*60*1000);

    var row = Math.floor(offset / this._owner.DayColumns);

    var col = offset % this._owner.DayColumns;

     

    if (this._owner.ShowWeekNumbers) col++;

    if (this._owner.ShowWeekDays) row++;

    if (!this._owner.IsSingleMonth()) row++;

     

    var tbl = document.getElementById(this._id);

    if (tbl)

    {

    if (row < tbl.rows.length)

    {

    var r = tbl.rows[row];

    if (col < r.cells.length)

    {

    var dayCell = r.cells[col];

    var dayType = this.GetDayType(date);

    dayCell.attributes["daytype"].value = dayType; 

    this._owner.RefreshDayCell(dayCell);

    }

    }

    }

    }

  • 07-08-2008 3:00 PM In reply to

    Re: WebCalendar Pop up Mode not working

    I am getting the same error.  I don't have source code, but the error is always exactly the same:

    Line: 801
    Char: 21
    Error: 'attributes.daytype' is null or not an object
    Code: 0

    When the error occurs, it is not possible to use the calendar to set the date. 

    I am using version 2.0.20082.57 of the C1WebCalendar and 2.0.20082.434 of the C1WebDateInput.  A fix would sure be nice.

  • 07-09-2008 4:22 PM In reply to

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

    Re: WebCalendar Pop up Mode not working

    With the latest builds we should be able to successfully connect these two controls in this manner:

    Server side:

    C1WebDateEdit1.WebCalendar = C1WebCalendar1;

    or client side:

    function C1WebDateEdit1_OnClientInit(aC1Edit){  aC1Edit.set_webCalendar("ctl00_ContentPlaceHolder1_C1WebCalendar1_Client");

    };

    Neither of these methods show any js errors in my sample, so please post a sample app if the problem persists. 


    -Greg

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