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

Please provide an honest answer: Does Telerik extensions work with ASP.Net MVC3 Razor syntax?

2 Answers 86 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.
andy
Top achievements
Rank 1
andy asked on 02 Dec 2010, 02:53 AM
I have been trying to get Telerik Extensions to work with Razor Syntax, and have been hitting walls. I have thoroughly studied the threads pertaining to MVC3 Razor on this forum, and downloaded the sample apps. However, I have not yet found a working code sample. I believe that there is a very serious issue related to content appearing at the top (out of order).

Please consider these points:
1. Some people are pointing at http://mvcdemo.chiplex.com  as evidence that Telerik extensions work with MVC3 Razor. But where is the code??
2.  A similar issue with content appearing at the top when using a grid was posted in this thread. However, when I downloaded the sample app, it does not run (The home controller runs, but that is not where the razor syntax is. The razor view is at /razor). Simply building this app with MvcBuildViews option set to true throws compilation errors. See my reply at the bottom of this thread. Again, no code that runs.
3. Another thread has a sample application that does not have a shared layout file, so again, no code.

Therefore, I urgently request you to give us a working demo using the ASP.Net MVC3 razor syntax with a shared master page, so we can start building applications for our clients. Thanks

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Dec 2010, 09:27 AM
Hello andy,

That razor sample site was made by a community member and we don't have its source code. However most of it is available in the code viewer. Official razor examples made by Telerik are currently in the works. 

The examples attached in the forum threads are for older pre-release versions of ASP.NET MVC 3. Since they are not backwards compatible (because they are not official) code is likely to not work with latest versions.

I am sending a sample project showing a few components working with razor.

This example may no longer work if the official ASP.NET MVC 3 has any breaking changes with regard to Razor.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Azwaan
Top achievements
Rank 1
answered on 15 Dec 2010, 12:00 PM
HI Atanas,

I'm having the same issue reported here. The grid is appearing on top of the page with Razor view.
I have looked at the code samples you have attached here.

But it would be much easier to let us know, Why this problem could appear in an existing project and how to solve this issue, instead of going through a whole new solution and then figure out what is wrong in our code.

For your info : I have followed steps on the Telerik Extensions for ASP.NET MVC Manual, Grid Introduction section, with a Razor view and the Grid appears on the top of the page. I'm usng the MVC Extensions Q3 2010.

Azwaan
Tags
General Discussions
Asked by
andy
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Azwaan
Top achievements
Rank 1
Share this question
or