开发者

Filling GridView on some Button Click in MVC

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, OnRowCom开发者_开发技巧mand 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


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


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜