Related Tags:
ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. 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, Sitefinity 10 Sitefinity is a .NET based CMS developed by Progress Software. Version 10 is released by Progress on around June, 2017 Learn More,

Sitefinity's Default list (mvc) widget disappeared on news details page?

Description:I have to show Listing using the sitefinity's default List widget on my news details page where my list widget disappeared because of news detail's url because my list widget also consider it as details page while I have to show listing only. To resolve this error I have used the article . And this is working fine in case off multiple news widgets i.e one to always display listing and other to display details but same did't work in case of list widget.(I am using mvc widgets for both news and List,with Sitefinity 10.1.6502.0)

Need your help!

Posted by: | Posted on: Jan 24, 2018

1 answers

Replies

4

Due to some reasons the list widget doesn't implement an override of the HandleUnknown action. (The code for that list controller is here: link) You need to add similar method as shown in the following code which will return the index action to the code in the given link.
 
/// <summary>
/// Called when a request matches this controller, but no method with the specified action name is found in the controller.
/// </summary>
/// <param name="actionName">The name of the attempted action.</param>
protected override void HandleUnknownAction(string actionName)
{
this.ActionInvoker.InvokeAction(this.ControllerContext, "Index");
}

and after adding the above method in the code, update the "Telerik.Sitefinity.Frontend.Lists.dll" to your project.

Replied by: | Replied on: Jan 30, 2018



Reply
×

Code block Hyperlink bold Quotes block Upload Images

Preview