Object doesn't support this property or method

Answered (Verified) This post has 1 verified answer and 1 reply

Not Ranked
Posts: 8
bonyfus Posted: Tue Oct 25, 2011 @ 5:04 AM
Hi,

I am using a date picker to pick the date and I have a popout link to open the interface in a new window. When I select that I am getting a Javascript error. It error fires in the ctltasks_PickerDue.Initialize();

   <td onmouseup="ButtonFrom_OnMouseUp(event)">
                                        <ComponentArt:Calendar ID="PickerDue" runat="server" PickerFormat="Custom" PickerCustomFormat="d MMM yyyy"
                                            ControlType="Picker" PickerCssClass="picker" Width="110">
                                           <ClientEvents>
                                                <Load EventHandler="PickerDue_OnDateChange" />
                                            </ClientEvents>
                                        </ComponentArt:Calendar>
                                    </td>
                                    <td>
                                        <img id="calendar_from_button" alt="" onclick="ButtonFrom_OnClick(event)" onmouseup="ButtonFrom_OnMouseUp(event)"
                                            class="calendar_button" src="../Images/Calendar/btn_calendar.gif" />
                                        <ComponentArt:Calendar runat="server" ID="CalendarDue" AllowMultipleSelection="false"
                                            AllowWeekSelection="false" AllowMonthSelection="false" ControlType="Calendar"
                                            PopUp="Custom" PopUpExpandControlId="calendar_from_button" TitleCssClass="title"
                                            DayHeaderCssClass="dayheader" DayCssClass="day" DayHoverCssClass="dayhover" OtherMonthDayCssClass="othermonthday"
                                            SelectedDayCssClass="selectedday" CalendarCssClass="calendar" NextPrevCssClass="nextprev"
                                            OutOfRangeDayCssClass="outofrangeday" MonthCssClass="month" SwapSlide="Linear"
                                            SwapDuration="300" DayNameFormat="FirstTwoLetters" TodayDayCssClass="today" ImagesBaseUrl="~/Images/Calendar"
                                            PrevImageUrl="cal_prevMonth.gif" NextImageUrl="cal_nextMonth.gif">
                                            <ClientEvents>
                                                <Load EventHandler="CalendarDue_OnChange" />
                                            </ClientEvents>
                                            <%--<ClientEvents>
                                                <SelectionChanged EventHandler="CalendarDue_OnChange" />
                                            </ClientEvents>--%>
                                        </ComponentArt:Calendar>

Answered (Verified) Verified Answer

Top 10 Contributor
Posts: 6,694
Answered (Verified) stephen Posted: Mon Nov 7, 2011 @ 1:16 PM
Verified by admin

This looks like it was sorted out in this post. Please let me know if this is incorrect. 

Stephen Hatcher, Developer Support Manager
Page 1 of 1 (2 items)