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