Thanks for writing, guys! (Also, long time, no see, Roman!)
This is on Kentico 8.
I would like a custom interface entirely. I don't want to do the module building in the UI because what I'm trying to do is a bit more complex than a simple grid. I'd rather work on it in Visual Studio. And the data is not a Kentico custom table; it's pre-existing data from another database.
Technically, I still have a module in Kentico. But underneath the module, I don't have a Class. I just have a UI element node defined in the User Interface section so it will show up in the admin console.
Imagine a simple grid, you click an item, then can visibly see the 3-8 colors associated with it, horizontally, along with some other information. (Sort of like a dashboard.) Then you will be able to dig deeper and edit/delete colors too.
I'm trying to use the unigrid because it seems pretty nice in that it can handle the filtering, sorting, paging, etc. The problem is that I just don't understand how to make it pass the correct parameter to the edit/dashboard page I'm creating.
The Kentico documentation examples show multiple ways to do it. In one example it shows to set the EditActionUrl:
In another example, it shows to use the OnAction event:
I got it sorta working yesterday by doing a Response.Redirect inside the OnAction handler, and I was able to pass the argument to my page like that. It doesn't seem like the best way, though, because the next problem I had was how to make a back button work. If you click your browser's Back button while in the Kentico admin console, it doesn't always work properly. I wanted that little sidebar with the back button to show up, and I couldn't figure out how to add that. So I think I'm missing something.
Am I making this too hard?