ControllerStandardDataItemClassDetailsSetViewBag Method | |
Puts ViewBag values. If value null then put following values:
Name | Description |
---|
ViewBag.DataGridView | Reads from AppModule object |
ViewBag.Toolbar | Reads from method DetailsGetToolbar |
ViewBag.HasListHeader | Puts default value off (false) |
ViewBag.ContentName | Puts default value DetailsContent |
More values puts by method
FormSetViewBag
Namespace:
SOWIWeb.Helper
Assembly:
SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax protected virtual void DetailsSetViewBag()
Protected Overridable Sub DetailsSetViewBag
Examples
Example change ViewBag property ContentName
protected override void DetailsSetViewBag()
{
this.ViewBag.ContentName = "_DetailsContentPartialQualiTemplate";
base.DetailsSetViewBag();
}
See Also