+1-888-365-2779
Try Now
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)

1 posts, 0 answered
  1. Harry
    Harry avatar
    3 posts
    Registered:
    10 May 2016
    02 Aug
    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