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

RadScheduler in MVC - No Styles/Scripts!

5 Answers 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 01 Dec 2010, 04:11 PM

Hi Guys,

I'm trying to use the RadScheduler in an MVC app, and have been through the various sample apps etc. top check it out.
Its *almost* working in that its loading up and not producing any errors.

However, there are no styles, and it seems no scripts either. I checked in the source and while in the sample apps I have several "webresources" calls being loaded into the head tag, in my app these are not appearing.

I am using the telerik script and stylesheet manager (for MVC) so I wonder if this is affecting it..?
Worst case I could manually load the styles and scripts, but that seems to pose its own problems at the moment, since they're dynamically loaded.

Any help would be very gratefully received as I'm going round in circles at the moment!

Thanks,
Ben

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Dec 2010, 04:16 PM
Hello Ben,

You can download a working demo from the kb article on RadScheduler in MVC sample project. Note that RadScriptManager must be placed at the end of the master page (Views\Shared\Site.Master).

I hope this helps. Let me know how it goes.

Greetings,
Peter
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Ben
Top achievements
Rank 1
answered on 01 Dec 2010, 04:40 PM
Hi Peter,

Thanks for the quick reply!
That is the project I was using as a guide, and the RadScriptManager is the last element in the site.master, just inside the body, as per the sample.

I've checked references and the web.config and everything else I can think of, but still no resources are being added!

I'd post the code, but I'd soon get into trouble for that, so I guess the next step is to try and test bed it, combining a "plain" MVC app with the radscheduler... unless anyone has any other ideas?

Thanks again for any help!

Ben
0
Peter
Telerik team
answered on 01 Dec 2010, 05:05 PM

Can you open a support ticket and send us a working sample of the problem?

Regards,
Peter
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Ben
Top achievements
Rank 1
answered on 01 Dec 2010, 06:51 PM
So simple! And don't I feel stupid. When implementing the stylesheet I've inadvertently dropped the runat="server" in the head.

Thanks so much for your help!
0
Peter
Telerik team
answered on 03 Dec 2010, 02:45 PM
Hi Ben,

Thank you for sharing your findings in the forum.

We are glad that you were able to solve the problem yourself and apologize that we could not help you right away.

Don't hesitate to contact us if you have other questions.



Kind regards,
Peter
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Ben
Top achievements
Rank 1
Answers by
Peter
Telerik team
Ben
Top achievements
Rank 1
Share this question
or