views:

39

answers:

3

Hi,

I am working on some project which is in classic ASP.NET, but I need to migarate that into MVC

Right Now I am having a page with one button and gridview which get fill on clicking the button. Gridview has the functionality like EDIT, DELETE, Paging, OnRowCommand Event.

How should I perform this page through MVC. I know gridview can't be used in MVC, so what's the alternative of that.

Thanks

A: 

Consider using a jQuery Grid plugin, like this one. I assume you have already figured out how to populate your view with data, etc.

Robert Harvey
A: 

I would recommend the Telerik MVC Grid Control. They are free and open source, and I am using these at the moment and don't have a bad thing to say about them!

http://demos.telerik.com/aspnet-mvc/grid/editingajax

amarsuperstar
I wouldn't say they are exactly "free as in speech." They are GPLv2; not even a library exemption.
Robert Harvey
although this also looks good
Nits
A: 

Here I found the perfect answer for me

http://blog.maartenballiauw.be/post/2008/06/Code-based-ASPNET-MVC-GridView.aspx

It works good for me clearlly understandable for me, I would say @amarsuperstar example also looks fine but not looks for beginners

Nits