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

[Solved] Support for MVC 4

19 Answers 706 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Grant
Top achievements
Rank 1
Grant asked on 28 Oct 2011, 09:13 AM
Hi Guys,

Are there any plans for a beta release of some kind supporting MVC 4?
Or can the current release be used with it already or is there someway I can set things up to use it.?

Thanks in advance!


19 Answers, 1 is accepted

Sort by
0
Accepted
nachid
Top achievements
Rank 1
answered on 28 Oct 2011, 10:55 AM
two months ago, i was wondering the same here
No answer but I am quite sure the team are working on it
0
Accepted
Dimo
Telerik team
answered on 28 Oct 2011, 02:35 PM
Hello,

MVC4 is still at a  very early stage of its development (CTP), according to the MVC team themselves, and the official release date is rather unclear. As a result, we cannot commit a specific timeframe for a release that will officially support MVC4 either. Surely the Q3 2011 release (due in November) will not include anything MVC4-specific and we do not test regularly against the new framework version at this point.

Regards,
Dimo
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Brad
Top achievements
Rank 1
answered on 06 Nov 2011, 12:26 AM
I successfully installed the Q2 release on MVC4 using NuGet.  The only issue I've encountered so far is that the CSS compression had to be turned off...not sure what the conflict was.  
0
Kevin Tory
Top achievements
Rank 1
answered on 29 Dec 2011, 09:22 PM
Can we get an update on this?  Any formal support yet?
0
Georgi Tunev
Telerik team
answered on 02 Jan 2012, 01:46 PM
Hi Kevin,

 Currently there are no known compatibility issues with MVC4. Did you encounter some problem? If so, please provide more details so we can investigate.


Kind regards,
Georgi Tunev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Dominic
Top achievements
Rank 1
answered on 10 Jan 2012, 03:08 PM
Hello,

it seems there is a problem with date values and globalization inside the grid. -> "The field xxx must be a date".
In MVC 3 everything works fine.

Regards
0
Georgi Tunev
Telerik team
answered on 11 Jan 2012, 04:49 PM
Hi Dominic,

We are not aware of such problem and we were not able to reproduce it locally. Could you please provide a sample project so we can investigate further?

Regards,
Georgi Tunev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Dominic
Top achievements
Rank 1
answered on 13 Jan 2012, 08:53 AM
Hi Georgi,

please look at the attached project and click Edit -> Save.
0
Daniel
Telerik team
answered on 18 Jan 2012, 09:48 AM
Hi Grant,

I confirmed that there is a strange behaviour of the client validation. At least for now it seems that the format in which the dates are send is changed.
However, it is too soon to investigate the exact cause since the implementation may be modified by the time of the official release. A workaround for now is to set the culture by using the Localizable method or modifying the jquery.validate script file so that dates are recognized properly.
I also noted a few other things that may be causing problems in the projects you send us:
  1. To use localization you should add the localization resource files to the App_GlobalResources folder.
  2. To use Combination of the scripts or styles you should register the asset HTTP handler.

Greetings,
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Carl
Top achievements
Rank 1
answered on 28 Feb 2012, 07:37 PM
Will Telerik be releasing an update with a binary intended for MVC 4?  What about for compatibility/interoperability with the new ASP.NET Web API beta? 
0
Atanas Korchev
Telerik team
answered on 29 Feb 2012, 08:44 AM
Hello,

Right now there doesn't seem to be a need to release a MVC 4 binary because the MVC 3 one works as expected.

We haven't done anything to integrate with the Web API beta. What kind of integration would you need? We need to investigate the possibilities first.

Kind regards,
Atanas Korchev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Dadv
Top achievements
Rank 1
answered on 29 Feb 2012, 10:33 AM
Hi,
In my case it could be a good thing if telerik mvc could use the web api syntax for paging and sorting :
api/products?$skip=2&$top=2&$orderby=Title
0
Atanas Korchev
Telerik team
answered on 29 Feb 2012, 10:36 AM
Hello,

 Thank you for your feedback! We will log this in our TODO list for further investigation. 

Regards,
Atanas Korchev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Carl
Top achievements
Rank 1
answered on 29 Feb 2012, 05:29 PM
Well, since there always seem to be some glitches that appear over time, it would seem prudent to split a branch for MVC 4 so that the older branch for MVC 3 remains independent for those devs who need it to remain as is for MVC 3 ....

However, for those of us who are planning to migrate to MVC 4 (and leave behind MVC 3 in the past), the most simple question would be: Will the Telerik Extensions for MVC 4 "play together nicely" with the new Microsoft MVC 4 and ASP.NET Web API?  Can a single application be built that intermingles both approaches without one interfering with the other?  Even if the claims argue that they are supposed to work together, it still has to be tested and proven that they work together.

And, by the way, where is KendoUI in this discussion?  What will be the relationships between Telerik Extensions for MVC 4 and KendoUI?
0
Atanas Korchev
Telerik team
answered on 29 Feb 2012, 05:43 PM
Hi,

 We will probably introduce a MVC4 build when there are MVC4 specific features. 

 The Grid ajax binding makes Ajax requests to action methods and should not interfere with the Web API beta. We have not yet tested if the MVC grid can be bound using the Web API infrastructure.

 As for Kendo UI you can check our FAQ.

Regards,
Atanas Korchev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Jacob
Top achievements
Rank 1
answered on 01 Mar 2012, 09:05 AM
Hi.

We are currently trying to move from MVC 3 to MVC 4 and we are using the Telerik grid and date controls. We have installed the MVC 4 side-by-side with the MVC 3 and after a while (resolving the known issues by MVC 4 team) we managed to get the site up-and-running still using MVC 3, and everything works as expected; that is, including the Telerik components. However, when we reference the MVC 4 assemblies and configure the site - according the the MVC 4 release notes - to run MVC 4 we seem to get an issue with the Telerik components.

The site throws the well-known "Index out of range" exception with the following source code highlighted...

Line 202:   
Line 203:    @* Styling for calendar control and more *@
Line 204: @(Html.Telerik().StyleSheetRegistrar()
Line 205: .DefaultGroup(group => group   
Line 206: .Add("telerik.common.css")

To see the stack trace please see attached screen dump.

Is this a known issue, or could it be something that we have missed? If it is a known issue, then when do you expect to be able to support this?

Best regards,
Jacob.
0
Atanas Korchev
Telerik team
answered on 01 Mar 2012, 09:53 AM
Hello,

 No, this is not a known issue. Find attached a working ASP.NET MVC 4 project.

Regards,
Atanas Korchev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Deepak
Top achievements
Rank 1
answered on 07 Mar 2012, 11:38 PM
I tried adding a DatePicker to an MVC 4 Razor View but got the following error:

Microsoft JScript runtime error: Object doesn't support property or method 'tDatePicker'

However, I don't see this error in an MVC 3 project.  Is this a known issue?  I'm running version 2012.01.229.0.

Thanks much.
0
Atanas Korchev
Telerik team
answered on 08 Mar 2012, 09:07 AM
Hello,

 The project that I attached in my previous reply shows the DatePicker working in a MVC 4 application.

 Since the topic digressed too much from the original I will lock this forum thread. Feel free to start new ones.

Regards,
Atanas Korchev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Grant
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Dimo
Telerik team
Brad
Top achievements
Rank 1
Kevin Tory
Top achievements
Rank 1
Georgi Tunev
Telerik team
Dominic
Top achievements
Rank 1
Daniel
Telerik team
Carl
Top achievements
Rank 1
Atanas Korchev
Telerik team
Dadv
Top achievements
Rank 1
Jacob
Top achievements
Rank 1
Deepak
Top achievements
Rank 1
Share this question
or