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

[Solved] scheduler rendering problem

6 Answers 152 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Aykut
Top achievements
Rank 1
Aykut asked on 25 Sep 2009, 07:53 AM
Hi,
I have a scheduler that has 2 rooms as resources.
In day view, slots are rendered with 2-3 pixels width and when I double click on one of them
I get a javascript error as

Line: 15754
Error: Invalid argument.

There is the same problem with other week month etc. views.
Everything is working and rendered perfectly fine in Firefox.
Slot widths are as expected and no javascript error on slot doubleclick.

I was hoping to attach a screenshot but I think there is no attach option.
Thanks.

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Sep 2009, 02:26 PM
Hello Aykut,

Please, send a sample demo and a screenshot via a support ticket.

Thanks.

Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nate
Top achievements
Rank 1
answered on 25 Sep 2009, 10:00 PM
I am actually having this same problem. On the web server,  all the views (day, week, and month) are all squished into a very small area, and not the length of the scheduler.   However, when I run it in visual studio, the styles for this are correct.
Is there anything that might be doing this??
This is my scheduler code.   Also, I don't have any styles on my master page or the page that the scheduler is on...I removed all of them.
 <telerik:RadScheduler ID="rsTimeTracking" runat="server" DataEndField="EndDateTime"
                                            DataKeyField="pkActivityID" DataSourceID="sqlDSTimeTracking" DataStartField="StartDateTime"
                                            DataSubjectField="ItemTitle" HoursPanelTimeFormat="htt" ValidationGroup="RadScheduler1"
                                            Skin="Outlook" MinutesPerRow="15" AllowInsert="False" LastDayOfWeek="Friday"
                                            FirstDayOfWeek="Saturday" TimelineView-UserSelectable="False"
                                            ShowAllDayRow="False">
                                            <Localization AdvancedAllDayEvent="All day"></Localization>
<TimelineView UserSelectable="False"></TimelineView>
                                         </telerik:RadScheduler>
0
T. Tsonev
Telerik team
answered on 28 Sep 2009, 08:00 AM
Hi Nate,

Seems to work fine here. Perhaps something else on the page is preventing the scheduler from working correctly. Can you paste the relevant parts of the page here? You can also use image sharing sites like imageshack to upload a screenshot.

All the best,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Aykut
Top achievements
Rank 1
answered on 05 Oct 2009, 04:54 AM
Hi
I am sending the aspx code for scheduler and a screenshot is available at
http://img29.imageshack.us/img29/5636/schedulerq.jpg
Like I said, this only happens in IE7 and IE8. Everything is fine with Firefox.
Thanks.

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="EndDate"
                    DataKeyField="ID" DataStartField="StartDate" DataSubjectField="Subject"
                    EnableRecurrenceSupport="False" HoursPanelTimeFormat="htt" Skin="Web20"
                    Width = "600px"  ValidationGroup="RadScheduler1"  
                    ShowResourceHeaders="true" ShowFooter="false"
                    ShowAllDayRow="false" GroupBy="Rooms"
                    OnClientAppointmentInserting="onAppointmentInserting"
                    DataSourceID="LinqDataSource1" EnableDatePicker="False"
                    ShowNavigationPane="False"
                    EnableAdvancedForm="False" style="top: 0px; left: 0px"
                    onclientappointmentediting="onAppointmentDoubleClick"
                    onclientformcreated="onAppointmentDoubleClick" >
                    <ResourceTypes>
                        <telerik:ResourceType AllowMultipleValues="false"
                        DataSourceID="LinqDataSource2" ForeignKeyField="RoomID"
                        KeyField="Id_Location" Name="Rooms" TextField="Name" />
                    </ResourceTypes>
                </telerik:RadScheduler>


0
Peter
Telerik team
answered on 06 Oct 2009, 02:55 PM
Hi Aykut,

Can you send us a live url of the problem or open a support ticket and attach a simple working demo for testing?


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Dan
Top achievements
Rank 1
answered on 07 Oct 2009, 08:00 PM
You might look at setting your ColumnWidth property. I had the same issue and once I set this property everything seemed to work correctly. Although I am still having some issues with the DayView but I'm still looking into it.
Tags
Scheduler
Asked by
Aykut
Top achievements
Rank 1
Answers by
Peter
Telerik team
Nate
Top achievements
Rank 1
T. Tsonev
Telerik team
Aykut
Top achievements
Rank 1
Dan
Top achievements
Rank 1
Share this question
or