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

JScript getModelFactory and activeModel Errors on MultiDay View

6 Answers 97 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 13 Mar 2009, 04:42 PM
Hi, I am getting new errors with the 2009.1 build of Telerik controls.

Specifically:

Microsoft JScript runtime error: 'this._getModelFactory(...)' is null or not an object

the VS debugger stops on line 11689 of the Telerik.Web.UI

and if ignored, followed by:

Microsoft JScript runtime error: 'this._activeModel' is null or not an object

on line 11690

Any thoughts, suggestions, ideas?

This is the code in the html:

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> 
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" > 
         
     <telerik:RadScheduler ID="RadScheduler1" runat="server" DayEndTime="23:00:00" RowHeaderWidth="55px"  
                DayStartTime="07:00:00" SelectedDate="2009-05-17" SelectedView="MultiDayView"  
                ShowAllDayRow="false" ShowViewTabs="True" ShowResourceHeaders="False" 
            DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End" 
            DataRecurrenceField="RecurrenceRule" Height="450px" 
                DataRecurrenceParentKeyField="RecurrenceParentId" HoursPanelTimeFormat="h:mmtt"  
                ShowFooter="False" ValidationGroup="RadScheduler1"  
            LastDayOfWeek="Wednesday" MinimumInlineFormHeight="5"  
            OverflowBehavior="Scroll" ReadOnly="True" RowHeight="25px"  
            StartInsertingInAdvancedForm="True" EnableDatePicker="False"  
            onnavigationcommand="RadScheduler1_NavigationCommand" AllowDelete="False"  
                AllowEdit="False" AllowInsert="False" MinutesPerRow="10"  
                TimeLabelRowSpan="3" NumberOfHoveredRows="1"
                <DayView ReadOnly="True" UserSelectable="True" /> 
                <Localization HeaderDay="Day View" HeaderMultiDay="Conference View"  
                    HeaderToday="Conference Start" /> 
                <MonthView UserSelectable="False" /> 
                <MultiDayView ReadOnly="True" UserSelectable="True" NumberOfDays="4" /> 
                <TimelineView UserSelectable="False" /> 
                <WeekView UserSelectable="False" /> 
            </telerik:RadScheduler> 
            </telerik:RadAjaxPanel> 

it is in a master page, if that matters, and there is some code in the code behind, but nothing that I can see that would cause this.  Multiday only causes the problem, day view does not.







6 Answers, 1 is accepted

Sort by
0
Thomas Kristensen
Top achievements
Rank 1
answered on 16 Mar 2009, 10:02 AM
I am getting the same error, did you find a solution?
0
T. Tsonev
Telerik team
answered on 16 Mar 2009, 05:39 PM
Hi,

Thank you for reporting the issue. We've managed to reproduce the issue and we're currently working on a fix. It shouldn't take more than a day. I'll let you know when we're ready. Sorry for the inconvenience.

Sincerely yours,
Tsvetomir Tsonev
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Patrick
Top achievements
Rank 1
answered on 18 Mar 2009, 12:58 AM
Hate to be a pest, but any status on this?
0
T. Tsonev
Telerik team
answered on 18 Mar 2009, 09:35 AM
Hi Patrick,

The issue is fixed and the MultiDayView now functions correctly in the latest internal builds (version 2009.0317 and up). You can download them from your Client.NET account.

We're also considering merging the MultiDayView functionality into DayView for the Q2 release. We believe that having the NumberOfDays property on the DayView will be much more intuitive to use. I'll be happy to hear your feedback on this.

Greetings,
Tsvetomir Tsonev
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Patrick
Top achievements
Rank 1
answered on 18 Mar 2009, 01:01 PM
I agree with you, but it takes away the reason I am using it.  Which is provide a multi-day view of 4 days for a conference and then allow someone to switch to day view for each day.

I guess I could do the same with external buttons to toggle the # of days option and refresh the scheduler, so shouldn't be too hard to recode to get the same functionality.

Honestly, that's what I was looking for in the beginning, but had to learn the multiday view and day view options, and wondered why their wasn't a # of days option in day view.
0
T. Tsonev
Telerik team
answered on 18 Mar 2009, 05:13 PM
Hi Patrick,

Thank you for your feedback. I really like the idea of having a day view with selectable number of days. I'm thinking that we can implement this in a form of a split button. It might look like this:

MultiDayView - proposal

We'll definitely consider implementing this. As a token of our gratitude for your involvement, your Telerik points have been updated

Sincerely yours,
Tsvetomir Tsonev
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Patrick
Top achievements
Rank 1
Answers by
Thomas Kristensen
Top achievements
Rank 1
T. Tsonev
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or