2 posts, 0 answers
  1. Sonny Chouinard
    Sonny Chouinard avatar
    8 posts
    Member since:
    Dec 2008

    Posted 02 Apr 2010 Link to this post


    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 

  2. Mira
    Mira avatar
    1124 posts

    Posted 07 Apr 2010 Link to this post

    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,
    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.
Back to Top