I need to make a simple asp.net MVC project, which contains a GridView. I managed to get the gridview working, and showing actual data (I have an MS Access database set up), but it seems somehow I got something wrong: although everything shows up just fine, any buttons/links (like page updating, delete, edit, etc) don’t do nothing. They just submit the form and refresh the page, but nothing is different.
Could you point me in the right direction? (although I couldn’t find anything on google, I’m pretty sure this is a common newbie mistake)
Note: I know I didn’t post any code, but I don’t know exactly what code to post. If you need further information, please ask.
When you talk about GridView I hope you are not referring to GridView because that’s not something you should be using in an MVC application.
If you are running MVC 3 you could use the WebGrid helper (which has some limitations) or MVCContrib Grid. There is also the Telerik Grid which is nice and worth looking at. You also have the possibility of a full client side javascript driven grid such as the jqGrid jquery Grid plugin.