This is a migrated thread and some comments may be shown as answers.

RadDateTimePicker

1 Answer 92 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Sonny Chouinard
Top achievements
Rank 1
Sonny Chouinard asked on 02 Apr 2010, 07:23 PM
Hi,

I have a error message when generating my web page dynamically. The error message is : "Microsoft JScript runtime error: Object doesn't support this property or method".

In the web page i'm adding my RadDateTimePicker, I have a RadCalendar and a RadTimeView.

Once my control is created, I had it to the controls in my page and this is where I get the error. BTW, I have don't have any problem if I change the control to Telerik.Web.UI.RadDatePicker.

objReturn = New Telerik.Web.UI.RadDateTimePicker 
 
With DirectCast(objReturn, Telerik.Web.UI.RadDateTimePicker) 
    .AutoPostBack = True 
    .CssClass = v_drControl("cCss_class").ToString 
    .SharedCalendarID = "calShared" '<-- The name of my RadCalendar
    .SharedTimeViewID = "tvShared" '<-- The name of my RadTimeView
    .Skin = "CHCA" 
    .EnableEmbeddedSkins = False 
    .TabIndex = CType(v_intTabIndex, Short
End With 

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 07 Apr 2010, 03:49 PM
Hello Jonathan,

I tried to replicate the issue which you described, but to no avail.

Attached to this post, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

Best wishes,
Mira
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Calendar
Asked by
Sonny Chouinard
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or