MVC3 .Net + ExtJs 4 - asp.net-mvc

I need to know if it is possible to work with ExtJS 4 components like Grid, Combobox, etc., in the Razor Views of MVC 3 .Net. If it is possible, I'd also like to know where I can read a manual/tutorial or some documentation on this.

Here's a tutorial on ExtJS4 Combo & ASP.NET MVC3:
http://whatisextjs.com/extjs-4-tutorial/extjs4-combo-asp-net-mvc3#more-452

Sure it's possible, the Razor views will just generate normal HTML pages, so anything you can do in normal HTML, you can do in ASP.NET MVC.
P.s. check out Ext.NET, a ExtJs library for .NET. Perhaps you find it useful: http://www.ext.net/.

You can use extjs grid in mvc.
mvc - grid sample
http://nraykov.wordpress.com/2009/11/29/using-ext-js-grid-with-asp-net-mvc/
check this also Returning data from ASP.net to an ExtJS Grid

Related

add pagination control for asp.net mvc

I am new to asp.net MVC. I am trying to understand how to add pagination for a list of items using MVC without code for a view. I am using nunit testing to check whether pager option is tested or not
There is no built-in pagination for a vanilla MVC project -- you'll need to write one yourself or find something off the shelf.
See PagedList, which is also available on NuGet.

Is there any free Telerik ASP.NET MVC extensions version?

I am going to develop website using ASP.NET MVC 4. I'd like to take advantage of rich Telerik extensions. I there any free version of it for ASP.NET MVC?
First of all I need grids functionallity. Can you suggest any alternative solutions?
Try to use the grid of jQuery.
Jquery grid example

.net mvc equivalent to JSF ui:include

I am moving from a JSF project to a .net project. One of the great things about facelets is the ability to use <ui:include> to modularise your html into small fragments that are easier to manage and reuse.
So far, I have not yet seen anything in .net MVC that can give this same flexibility.
Any advice/suggestions?
IF you are using asp.net mvc 3 or 4, you can use in the view #Html.renderpartial, even if you using from controller there is a PartialViewResult

Component similar to DevExpress ASPxTreeList (mix of Grid and TreeView) but for ASP.NET MVC

I'm looking for a component similar to ASPxTreeList (mix of Grid and TreeView) from DevExpress, but suitable to use in MVC 4:
http://demos.devexpress.com/ASPxTreeListDemos/
My general requirements are:
tree structure with a few additional columns,
possibility of using images in some cells,
possibility of sorting by each column (optional).
I was looking at Kendo UI with it's TreeView control with it's templating option:
http://demos.kendoui.com/web/treeview/templates.html
Problem is that probably it's not possible to fully simulate table layout using a tree based on ul/li elements. Maybe there are any jQuery solutions which solve that problem?
Thanks in advance for help!
The DevExpress MVC TreeList extension is available in the latest release: DXperience ASP.NET v2012.2
You can take a look at jqGrid and its TreeGrid functionality (the demo is in the "New in version 3.5" section).
You can also check following demos of how to use it in ASP.NET MVC:
jqGrid in ASP.NET MVC - Strongly typed helper
jqGrid in ASP.NET MVC 3 and Razor
There is an equivalent for MVC from DevExpress. The component offer almost all the functionalities of the webform's one.
Look at the MVC's demo page

Using ReportViewe Control in asp.net mvc

I'm asp.net mvc for my project and now I have to show a couple of reports using the ReportViewer control. I need to specify a couple of properties before rendering the report ie. ReportServer Url.
Is it possible to achieve this using asp.net mvc?
You can't use reportviewer control in asp.net mvc because it needs postbacks.
But you can use it to generate an image and show it (some googling should give you results about how to accomplish that).
Another option - you can make a hybrid application (web forms + mvc).
And another option - you can try javascript charts. Google charts looks good for example.

Resources