More in this section
Forums / Project Feather / What is wrong with this Action syntax?

What is wrong with this Action syntax?

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.
2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    05 Nov 2015
    Link to this post

    Trying to call my PageTitle MVC widget, and pass it's Title property in the value in the model.


    @model SitefinityWebApp.Mvc.Models.SessionsAcademicDetailModel

    @Html.Action("Index", "PageTitle", new {
        Title = Model.Session.Title



    - Debugging shows I hit this widget first, populate Model.Session

    - Shows PageTitle controller gets triggered, but the value of Title is "null"


  2. Arnob Makhlaqur
    Arnob Makhlaqur avatar
    41 posts
    06 Sep 2017
    25 Nov 2015
    Link to this post
    Hello Steve,

    To elaborate this issue more information is needed like the codes of the Controller and the models and if there is widget designer then also the codes of the widget designers.  If the Session class is in the different model than the SessionsAcademicDetailModel then was that (Session) initialized with the new constructor? How the Model.Session.Title got its value?

    Arnob Makhlaqur
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered