I came across a method of using ascx file in cshtml and There by using RadScheduler in the Ascx files. Any pointers or examples would be appreciated.
Thanks
9 Answers, 1 is accepted
The view engine has nothing to do with the ASP.NET ajax controls that you use in a given ASP.NET MVC view. This means that RadScheduler can be freely used both with the default ASP.NET MVC view engine as well as with Razor.
Regards,
Genady Sergeev
the Telerik team
Is it possible to use RadControls inside Razor? I came across these threads that says it wont work.
http://www.telerik.com/community/forums/aspnet-ajax/mvc/radcontrols-for-asp-net-mvc-razor.aspx
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/does-radscheduler-support-mvc4.aspx
If it's possible, is there an example or a documentation on how to do it?
Thanks
I am attaching the pages that implement one way how to implement one way to workaround this limitation in MVC Razor.
Hope this will be helpful.
Plamen
the Telerik team
Hi Plamen,
I am trying to follow your example, but getting errors: GetAppointments and GetResources are not found, I am wondering, if you can post complete sample project so I can see what I am missing.
Thank you, Irina.
Here is a sample project that worked at my side. Please have in mind that the bin directory is not included.
Hope this will be helpful.
Plamen
the Telerik team
Hi Plamen,
The app you posted is configured to run using Visual Studio development server and it works fine. But if I change it, to run in IIS Express, I get errors : GetAppointments and GetResources are not found.
Thank you, Irina.
The issue seems to be caused by some configurations of the IIS Express for MVC applications and not connected to the code of RadScheduler. I will recommend you to refer to some IIS thread where such issues are explained in details like in this one.
Hope this will be helpful.
Plamen
the Telerik team
But some dlls are missing like
Kendo.Mvc
Telerik.Web.UI.
Pls update as where to get this dll's. We have a project to implement and we intend to buy it, if it suits our requirements
You can download the trial versions of the dlls from here:
http://www.telerik.com/products/aspnet-ajax/download.aspx
https://www.kendoui.com/download/download-kendo.aspx?pid=KENDOUICOMPLETE&lict=1
Hope this will be helpful.
Plamen
Telerik