3 Answers, 1 is accepted
0
Hello Max,
Atanas Korchev
the Telerik team
The Razor views are shipped with the rest of the examples. Check the Areas/Razor folder.
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
Max
Top achievements
Rank 1
answered on 21 Oct 2011, 03:33 PM
When I debug the samples it reads the aspx files, not the razor ones.
Anything I am missing? thank you
Anything I am missing? thank you
0
Accepted
Hi Max,
By default, the WebForms view engine is used in our MVC demos. However, you can easily access the Razor demos by adding "razor" after the application's main folder in the browser's address bar, for example:
http://localhost/Telerik.Mvc.Examples/razor/
Alternatively, open a random demo and click on the RAZOR link below the example (where the "About this example" text is).
Yet another option is to modify the Global.asax file and change the default route:
routes.MapRoute(
"Default",
"{area}/{controller}/{action}/{id}",
new { area = "razor", controller = "Home", action = "FirstLook", id = "" });
Note that in this case you will not be able to access the WebForms demos.
Greetings,
Dimo
the Telerik team
By default, the WebForms view engine is used in our MVC demos. However, you can easily access the Razor demos by adding "razor" after the application's main folder in the browser's address bar, for example:
http://localhost/Telerik.Mvc.Examples/razor/
Alternatively, open a random demo and click on the RAZOR link below the example (where the "About this example" text is).
Yet another option is to modify the Global.asax file and change the default route:
routes.MapRoute(
"Default",
"{area}/{controller}/{action}/{id}",
new { area = "razor", controller = "Home", action = "FirstLook", id = "" });
Note that in this case you will not be able to access the WebForms demos.
Greetings,
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
