asp.net mvc - MVC - display a user profile setting in dropdown list on several pages -
i display value of specific user profile setting in header of every page (_layout.cshtml). see how default mvc web application displays user's name in "welcome user!", name obtained calling user.identity.getusername() . setting want display custom setting. it seem need pass custom setting controller, i'm not sure how controller within _layout.cshtml. i've tried @html.renderpartial, doesn't trigger controller action/method, or can it? i've tried @html.renderaction gets me controller, requires entire view rendered, or there way around this? could tell me razor syntax use view trigger controller action render input control? don't need controller/action logic other return statement. edit @rowan freeman seems pointing me in direction tried. in fairness didn't know need perform post user setting. here code i've tried: viewmodel public class languagelistpartialviewmodel { public string selectedlanguage { get; set; } public ie