Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, CMS A content management system (CMS) is a software application or set of related programs that are used to create and manage digital content. CMSes are typically used for enterprise content management (ECM) and web content management (WCM) Learn More, Sitefinity Telerik Sitefinity is an ASP.NET 2.0-based Content Management System (CMS) that enables the construction of dynamic, fully editable Web sites. Sitefinity provides the tools for quick and easy construction of a wide variety of attractive and functional Web sites. Learn More,

setting up listing and detail widgets on the same page sitefinity, having issue of opening details on both widgets

Description:I have tried setting up listing and detail widgets for all (i.e blog, news etc ) sitefinity's default widgets on the same page, having issue of opening details on both widgets , it is working fine when there is no detail url appended only the listing widget show the listing and details widget empty but when click on details link it appends the details url (UrlName of the details item) and both widgets start displaying the details of the item. i.e same details expended multiple times on the page.
Let me know if this is the sitefinity bug or am I missing any settings?

Posted by: | Posted on: Jun 14, 2019

3 answers

Replies

2

Hi,
This is not a sitefinity's bug at all you have missed minor settings, whenever you want to setup list and detail on the same page you need to setup each widget for single purpose specifically and that can be achieved for all such widgets even for dynamic module created through sitefinity's module builder by using the default widget created against dynamic module as well.
Now for the purpose you need to follow the steps:


1) Drop two widgets on the same page (One for Listing and other for details)
2)Then Edit the widget set Master for Listing widget by going to "Edit > Advanced > ContentViewDisplayMode" and set its value Master
3)Then Edit the other widget set Detail for detail's widget by going to "Edit > Advanced > ContentViewDisplayMode" and set its value Detail


Replied by: | Replied on: Jun 17, 2019



2

I am also having similar issue but I am using sitefinity 10 and I have widgets build using mvc , I have tried answer given by tabish but unfortunately there is no such "ContentViewDisplayMode" property available for mvc widgets, So I need to know if there is "ContentViewDisplayMode" equivalent property available for sitefinity's mvc widgets?

Replied by: | Replied on: Sep 16, 2019



2

Hi Umer,
The same property is available for mvc as well but depending upon the sitefinity version you are using , it is actually implemented for mvc in sitefinity 11.0 or above.
You can set the property as shown

1. Click on Edit widget » Advanced » Model
2. Set Automatic /Master/Detail to ContentViewDisplayMode field
3. Save

Replied by: | Replied on: Dec 23, 2019



Reply
×

Code block Hyperlink bold Quotes block Upload Images

Preview