Templates for List / Detail View of Custom Module
Simply put, how does one create templates for the List/Detail View of a Custom Module in VS. I would like to be able to query for other members of the custom module in the detail view to allow for paging forward and back through the content for instance. Perhaps an MVC example if possible?
Hello Piotr,
I have responded in your support ticket and once the solution is found, you can share it with the community.
Best regards,
Vassil Vassilev
Telerik
I am curious what the solution was for this issue as I have a similar problem that I am working on. Mine involves a custom module and they would like a previous/next button to allowing moving through the content.
Hello Tim,
In case of custom module you can implement such functionality in the templates, which could be found under:
(Master / Detail) ~/Web/UI/YourModuleItems
Depending on the scenario you have, you can just use the paging in the List view activating prev/next buttons:
- add all the fields you need of the item in the list view
- select the field to show only one Item
- Enable the Prev/Next buttons on the pager in order to navigate between the Items:
<
sf:Pager
id
=
"pager"
runat
=
"server"
ShowPrevAndNext
=
"true"
></
sf:Pager
>