How to fetch data to a gridview

Topics: Core
Jan 28, 2016 at 12:37 PM
Edited Jan 28, 2016 at 12:48 PM

I need to bind one table in to a gridview inside the orchard dashboard, that table was generated by one of my module.
(Just like your existing Users list [../OrchardLocal/Admin/Users], that was showing as a grid view)

If it is possible? Then how....I am waiting for your valuable replay.......

Thanking you
Feb 14, 2016 at 2:24 PM
You need to write your own code. If you know mvc then you should already understand the basics:
  1. Write a controller to handle the request
  2. Wire it up to a view
  3. Write a "post" method to handle any submitted data
I've been learning this recently and I've done it by basically just digging through the orchard modules until it started making sense.

One of the best modules for looking under the hood that I've found is the taxonomies module. This is a pretty straightforward module with CRUD functionality and it also shows master/detail view where the Terms is a sub-section managed by the Taxonomies.

If you want a step by step then this is widely regarded as a great module tutorial: