I have a custom module built using module builder (Sitefinity 5). I then followed Josh Morales' post on 'Mapping External Templates for Sitefinity 4 Widgets'
using Option 2. This works fine.
I need to be able to pass parameters through url to filter the data that gets displayed.
I need to grab the url and get the bits I need... I can use conventional methods such as query strings unless someone has a better alternative that's built into Sitefinity. Then I need to apply this to the datasource. I thought I could use some event on the RadListView to filter the data but when I add a filter expression I get an error:
Invalid property or field - 'Name' for type: DynamicContent
Not sure if filtering on the ListView is the best way to start with but any way will do for the moment.
I then found a post Getting Event Filters in Code
which Ivan gave a response but not sure how to implement in this scenario. How can I get MasterViewDefinition in user control and InitializeControls of course does not exist as it's a user control. I tried inheriting from both SimpleView and ContentView but still can't find what is suggested in that forum post.