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

[Solved] VS 2012 RC and MVC 4 Templates

2 Answers 286 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ray
Top achievements
Rank 1
Ray asked on 12 Jun 2012, 10:54 PM
Recently installed Visual Studio 2012 RC. I also downloaded the latest Telerik MVC Extensions via NuGet. I am able to create an out of the box ASP.NET MVC 4 Application Visual C#. I tried to do the same with C# Telerik Web Application and C# Telerik Web Application (Razor) and got this error for both.

The project has a reference to a missing extension. Could not find an extension with Id Microsoft.VisualStudio.11.MVC4.TemplatePackages-ENU

However, creating the standard ASP.NET internet application and then choosing to add the Telerik extensions seems to work just fine. Surely I've missed something simple here.

Also noticed that the Grid component has a few issues. Including it here as an edit for the sake of brevity. Refresh image is not sizing correctly (webblue style atleast) as it shows part of the next image of a spritesheet possibly? Same with expand (+) image when using .DetailView(....) within the grid. Collapse image (-) seems fine.

2 Answers, 1 is accepted

Sort by
0
Vesko
Telerik team
answered on 13 Jun 2012, 12:32 PM
Hi Daniel,


Our templates currently do not support  ASP.NET MVC 4 RC. As a workaround you can create a standard MVC 4 project and make it Telerik "enabled". You can learn how to do it here.


Greetings,
Vesko
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
Ray
Top achievements
Rank 1
answered on 13 Jun 2012, 04:31 PM
VS 2012 still new... I understand that. Using the Telerik menu option inside VS to configure project is much easier than the link you shared.

The image issue appears to come from the new Site.css file that the new Microsoft MVC 4 Razor template generates. Quick fix thanks to Firefox and I simply modified the anchor tag to remove the padding. Thanks again for the quick reply.

From
a {
color: #333;
outline: none;
padding-left: 3px;
padding-right: 3px;
text-decoration: underline;
}
a {
color: #333;
outline: none;
padding-left: 3px;
padding-right: 3px;
text-decoration: underline;
}
a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

To
From
a {
color: #333;
outline: none;
padding-left: 3px;
padding-right: 3px;
text-decoration: underline;
}
a {
color: #333;
outline: none;
padding-left: 3px;
padding-right: 3px;
text-decoration: underline;
}
a {
    color: #333;
    outline: none;
    padding-left: 0px;
    padding-right: 0px;
    text-decoration: underline;
}
Tags
Installer and VS Extensions
Asked by
Ray
Top achievements
Rank 1
Answers by
Vesko
Telerik team
Ray
Top achievements
Rank 1
Share this question
or