Does RadScheduler support MVC4?

8 posts, 0 answers
  1. Harry Zhao
    Harry Zhao avatar
    1 posts
    Member since:
    Feb 2009

    Posted 02 Feb 2012 Link to this post

    Is there any work around or when the new version supporting mvc4 will come out?

    Thanks.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Feb 2012 Link to this post

    Hello,

    There is a sample with RadScheduler in MVC3. I don't expect any issues with MVC4, but please let me know if you stumble upon some obstacles.

    All the best,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. sta
    sta avatar
    34 posts
    Member since:
    Mar 2011

    Posted 03 Mar 2012 Link to this post

    Hi Peter,
    while the article you pointed to is of great help, I had a bit different question on the same topic: 
    can Telerik provide some example on how to use RadScheduler with Razor engine?
    Thank you very much in advance.
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 05 Mar 2012 Link to this post

    Hello,

    You cannot use RadControls for ASP.NET AJAX in a Razor view because they are ASP.NET WebForms controls.

    Kind regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. sta
    sta avatar
    34 posts
    Member since:
    Mar 2011

    Posted 05 Mar 2012 Link to this post

    HI Peter,

    First off, thank you for the prompt response. In your previous post you pointed to article that shows how to use AJAX control inside MVC3 environment, using ASPX  view engine instead of razor. I am just learning about this new stuff, and I had impression that CSHTML and ASPX view engines are equivalent from perspective of what's possible, just different syntax, so that what you can do with one you can do with the other.
    Since in the example you showed, RadScheduler works perfectly well with ASPX engine. I was wondering how to make it work with razor (CSHTML)? I spent full day yesterday trying to make it work and failed. I am planning to use (read - "to buy") RadScheduler for my project but I need it to work with razor, otherwise will have to consider alternatives.

    If RadScheduler as it is right now won't work with razor, please answer following questions:
    1. how come you can use AJAX RadScheduler with ASPX and not with razor? (I am not afraid of technical or business answer, please give me either or both)
    2. are there plans to have some kind of scheduler or scheduleview that Telerik has for Ajax, Silverlight, WPF component for MVC3 razor? If yes, what is the ETA? If not - why not (I am sure there's big demand for everything working with ASPX to work with razor from Telerik)

    With respect & thank you very much in advance.
  6. Daniel
    Admin
    Daniel avatar
    2231 posts

    Posted 07 Mar 2012 Link to this post

    Hello Harry,

    Straight to your questions:
    1. There is no other technical reason except that the RazorViewEngine doesn't support ASP controls.
    2. Currently we don't have plans to release a Scheduler as part of the MVC extensions in the near future. If more users request such component we will consider it, but for now I can't tell when or if we are going to add it to our portfolio.

    Kind regards,
    Daniel
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. sta
    sta avatar
    34 posts
    Member since:
    Mar 2011

    Posted 07 Mar 2012 Link to this post

    HI Daniel,
    Thanks for your response.
    I found one example of RadScheduler working in MVC3 environment, which is WebServices.
    Would love to get examples (not demo like, but complete project that I can compile and run) achieving the same aim (working RadScheduler in MVC3) by WCF service and/or EntityDataSource.

    (All I am trying is to avoid "SELECT" statements in WebService approach, which require Database Provider. I am in model first approach mode (with EF), but EF models aren't usable with custom DB provider unfortunately.)

    Thank you very much in advance!
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Mar 2012 Link to this post

    Hi Sta,

    Thank you for your suggestion to create more integration examples with MVC and WCF services. Currently, we don't have such resources to refer you to, but we will consider preparing samples in the future.

    Greetings,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top