ControllerStandardDataItemClassDeleteSetViewBag Method | |
Puts ViewBag values. If value null then put following values:
Name | Description |
---|
ViewBag.DataGridView | Reads from AppModule object |
ViewBag.Toolbar | Reads from method DeleteGetToolbar |
ViewBag.HasListHeader | Puts default value off (false) |
ViewBag.ContentName | Puts default value DeleteContent |
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 DeleteSetViewBag()
Protected Overridable Sub DeleteSetViewBag
Examples
Example change ViewBag property ContentName
protected override void DeleteSetViewBag()
{
this.ViewBag.ContentName = "_DeleteContentPartialTemplate";
base.DetailsSetViewBag();
}
See Also