Declined
Last Updated: 14 Feb 2014 06:44 by ADMIN
Phillip Moore
Created on: 04 Dec 2013 22:41
Category: Calendar
Type: Bug Report
1
Cannot access Client Object for RadMonthYearPicker
I placed a RadMonthYearPicker on my page.

<telerik:RadMonthYearPicker DateInput-DateFormat="MMMM, yyyy" DateInput-DisplayDateFormat="MMMM, yyyy" Skin="MetroTouch" ID="MYPickerEnd2" CssClass="MYPickerEnd2" runat="server" />

var monthyearpicker = $find("<%= MYPickerEnd2.ClientID %>");

I am getting null every time.

On my page I am getting this as the client id: ctl00_MainContent_AnalyticOutline_MYPickerEnd2

I was going to use javascript to open the RadMonthYearPicker when clicking on some specific text on our page.
1 comment
ADMIN
Vasil
Posted on: 14 Feb 2014 06:43
You should try to $find the picker during or after the client side pageLoad event passes. In earlier stage the client side objects are not yet created.