Not sure about MVC, but in the Page_PreRender main page Page_PreRender you can have this code:
HiddenField field = new HiddenField(); field.ID = "HiddenField1"; field.Value = "SomeValue"; (this.Page.FindControl("form1") as HtmlForm).Controls.Add(field);
This will result in a hidden form field, regardless of which page uses the main page.
source share