Can i create a gridview control in Asp.net MVC,and set its DataSource propertie and DataBind method,mormally as in web forms?
-
I don't know about grid, but you can take a look at this pager - seems it is quite nice. en.webdiyer.com/MvcPager/Demo/JqAjaxOrdersarena-ru– arena-ru2010-05-10 14:45:59 +00:00Commented May 10, 2010 at 14:45
-
You might find this question useful stackoverflow.com/questions/177275/…Roman– Roman2010-05-18 13:26:26 +00:00Commented May 18, 2010 at 13:26
Add a comment
|
2 Answers
Technically it is possible - wrap the grid inside a <form runat="server"> tag and you are back in the WebForms business - ViewState, postback etc. However I would too not recommend this approach. You better use a mixed WebForms-MVC approach. You can also check the available grid solutions for MVC.