Taking advantage of MVC3's new features

Taking advantage of MVC3's new features

justStevejustSteve Posts: 49Questions: 8Answers: 1
edited December 2010 in General
Over the past year i've built up a nice library of DT-based reports for my MVC projecst. It's time to iterate and i'm looking to see how to combine the Razor view engine' HTML Helper framework with DT. Ideally i'd like to come up with a strategy where strongly typed .net-side objects can be passed to and customized/formatted by DT by sheer magic. Probably it's going to take a bit more work than that.

MVC team's posting introducing Razor (http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx) demonstrates the construction of an HTML Helper that passes and inline template to native Grid object. I'd like to understand what it would take to create an HTML Helper that renders to DataTables instead.

In that MVC3's 'inline templates' can contain a mix of HTML and .net code can we create HTML Helpers where jQuery plugins can interact with .net code with the glories of full statement completion/intellisense and compile-time checking?

Razor's new - clearly this question can't be answered (at least with functional examples) yet. But given that jQuery has become the defactor 'front-end designer' for MVC projects, and that DT is obviously the most robust, bestest grid renderer that exists for jQuery, i think the question bears some exploration.

anyone else thinking along the same lines?

thx

Replies

  • PJPJ Posts: 7Questions: 0Answers: 0
    Razor's on the Rize!

    I was just assigned an MVC3/Razor project.

    DT's my first choice for inrow editing in this project.

    Breakout the learning curves!

    Anyone already tackling Razor w/ DT?

    PJ
This discussion has been closed.