Does MVC Extensions grid support polymorphism? - asp.net-mvc

Is it possible to take advantage of a polymorphic viewmodel when using the grid from MVC Extensions? Google wasn't very helpful :(
I know that ASP.NET MVC supports it via display templates. But how would I do something similar using the telerik grid?

Turns out it does.
http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-grid-display-and-editor-templates.html
Hope this helps someone google it a bit easier :)

Related

ASP.NET MVC - How do I implement Paging?

I'm relatively new to MVC and looking to output some data and paginate through it. I don't want some fancy JQuery pagination or anything like that, it has to run server side. I have done this sort of thing previously using Gridviews etc, but not sure how to achieve this using ASP.NET MVC. Does anyone have any ideas how to do this?
I am using the following:
Razor,
C#
Entity Framework,
LINQ
This is a famous tutorial http://nerddinnerbook.s3.amazonaws.com/Part8.htm
I think you'll find that this should help you http://msdn.microsoft.com/en-us/magazine/gg650669.aspx

Asp.net mvc ListBox recommendations?

I'm converting a asp.net application over to asp.net mvc that uses a lot of listboxes, specifically the RadListBox from Telerik. The ListBox that comes with mvc is very basic and I'm wondering if anyone has come across a better alternative. I'm really looking for the ability to reorder, add, and delete from the client. Thanks
It seems at the moment there is no special tool (with professional features like Telerik tools) for MVC. However I suggest you using extension methods as it was my problem already:
And also you can replace it with a [Telerik MVC dropdownlist][2]
[2]: http://demos.telerik.com/aspnet-mvc/razor/combobox which is Free!

control toolkit for asp.net mvc

Is there a good enough Control toolkit framework for ASP.net MVC that includes useful controls like calendar, tree, grid etc.
Thanks in advance.
From what i know, the most popular and active (in development) is the Telerik ASP.net MVC Components. Demos here.
If you just need a grid, MVCContrib has a good one.
The Mvc Controls Toolkit offers server controls that are comparable with the ones of Web Forms. See here: http://mvccontrolstoolkit.codeplex.com/
Telerik's MVC framework as mentioned above is good; it has a really nice grid, but does not have the calendar/tree components. However, if you can wait until march, it has the other two components you are looking for. See the roadmap at: http://www.telerik.com/products/aspnet-mvc/whats-new/roadmap.aspx.

asp.net mvc and fckeditor

would like to use fckeditor or similar for building/editing webpages on the fly
but there are a few other old questions where there are issues
am looking for any recent experiences/alternatives ?
thanks
http://tinymce.moxiecode.com is not bad
I had a pretty easy time integrating fckeditor in my asp.net mvc app. The fact that mvc and regular webforms co-exist seamlessly made including the free fckupload utility a snap. I highly reccomend it.
Depends on the functionality you need. If it's a simple one like the one used here at StackOverflow, there's a Markdown Editor.

What is the best way to use MicrosoftReportView control in ASP.NET MVC framework?

Exactly same as the title of my question,
What is the best way to use MicrosoftReportView control in ASP.NET MVC framework?
I need to use report viewer control in asp.net mvc application, but I am so confused that how to use that control in mvc framework without violation of mvc pattern.
Thanks in advance.
You can mix both WebForms and MVC pages in the same application, so you may want to just develop a single WebForms page for the one that requires the ReportView. Hanselman describes a similar scenario on his blog. If you need it in an MVC page, you may want to look the following for hints on how to do so. I have no idea if this particular control will work or not, since I haven't tried this.
http://codebetter.com/blogs/david.hayden/archive/2007/12/27/asp-net-mvc-and-accessing-server-controls-in-codebehind.aspx
http://flux88.com/blog/leveraging-existing-asp-net-features-in-asp-net-mvc/

Resources