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

RadScheduler - problems using on Sharepoint 2010

3 Answers 71 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ivo Stoyanoff
Top achievements
Rank 1
Ivo Stoyanoff asked on 18 Jul 2010, 05:01 PM
I have web user control with RadScheduler (Q1 2010 SP1) which works fine with ASP.Net
I am using ObjectDataSource.

When trying to move the code to SharePoint 2010 I have a lot of problems.
Initially the problems were around web.config - ObjectDataSource and SafeControls.

I think I resolved them but I still can't get the scheduler to render properly - headers/colors show OK but the table with timeslots is "squished" to single vertical line and I javascript error:

Message: '0._preInitialized' is null or not an object
Line: 1050
Char: 1
Code: 0
....
How to initialize properly RadScheduler in Sharepoint? Not sure if this is related to SPS 2010?


3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Jul 2010, 10:26 AM
Hello Ivo,

The main problem is that MOSS doesn't render a DOCTYPE tag which causes IE to use Quirks mode for rendering. You can read more about this at http://www.quirksmode.org/css/quirksmode.html

You can try the workaround from this forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/even-in-your-demos.aspx

I hope this helps.


All the best,
Peter
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
0
Ivo Stoyanoff
Top achievements
Rank 1
answered on 22 Jul 2010, 04:03 PM
I solved horizontal problem by specifying column width.
I have different problem now - week view doesn't show the appointments.
Let's say - I have 2 appointments for July 20. I see them in day or month view - but they don't show up in week view.
I tested with both Firefox and IE8 to avoid "quirk" mode problem.
If I do view source - I see them - I guess it's css problem maybe.
See below - snippet of first appt (2012) 
This works fine in regular asp.net control - and acts weirdly on sharepoint.

<td class="rsSunCol">&nbsp;</td><td>&nbsp;</td><td><div class="rsWrap" style="z-index:10;">
<div id="ctl00_m_g_5ebea70c_a543_4487_a90b_aaa56d96d9b9_ctl00_SC1_1_0" title="2012" class="rsApt" style="height:146px;width:45%;left:0%;">
<div class="rsAptOut">
<div class="rsAptMid">
<div class="rsAptIn">
<div class="rsAptContent">

2012<a class="rsAptDelete" href="#">delete</a>
</div>
</div><div class="rsAptResize" style="z-index:80;">
<!-- -->
</div>
</div>
</div>


0
Peter
Telerik team
answered on 29 Jul 2010, 08:36 AM

Do you have a live url of this issue?

Greetings,
Peter
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
Scheduler
Asked by
Ivo Stoyanoff
Top achievements
Rank 1
Answers by
Peter
Telerik team
Ivo Stoyanoff
Top achievements
Rank 1
Share this question
or