More in this section
Forums / Developing with Sitefinity / How to detect Listing/Details view of a dynamic content from another widget (MVC)

How to detect Listing/Details view of a dynamic content from another widget (MVC)

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Harry
    Harry avatar
    3 posts
    Registered:
    10 May 2016
    02 Aug 2016
    Link to this post

    Hi,

    Let's take an example that I have a dynamic module called "Press Release". In my page "Press", I put in a "Press Release" widget and a custom "RHS block" widget and set the "Press Release" widget to display both listing and details view on the same page.

    Thus, when I browse http://mysite.com/press and http://mysite.com/press/2016/08/02/new-cat-in-your-block, they are pointing to the same page. How do I detect the difference in my "RHS Block" widget to let it display different information based on the selected article?

     

    Thanks,

    Harry

1 posts, 0 answered