Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Documentation and tutorials > Grid example with Razor engine

Not answered Grid example with Razor engine

Feed from this thread
  • Russell avatar

    Posted on Jul 11, 2011 (permalink)

    I'm having trouble working the Grid example code using the latest MVC templates.

    I have a Northwind datacontext that works in a unit test.

    The directions say to make the page strongly typed by

    <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" 
        Inherits="System.Web.Mvc.ViewPage<IEnumerable<Order>>" %>


    I thought in the Razor page that would translate to

    @model

     

    IEnumerable<TelerikMvcApplication1.Models.Order>

     


    but that results in an http 404 resource not found error.  I've tried some other variations but nothing works?


    Reply

  • Atanas Korchev Atanas Korchev admin's avatar

    Posted on Jul 12, 2011 (permalink)

    Hello Russell,

     I am not sure what may be causing the 404 error. Could you please clarify when this happens? 

    Regards,
    Atanas Korchev
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Documentation and tutorials > Grid example with Razor engine