Click or drag to resize

ControllerStandardDataItemClassCreateSetViewBag Method

Puts ViewBag values. If value null then put following values:
NameDescription
ViewBag.DataGridViewReads from AppModule object
ViewBag.ToolbarReads from method CreateGetToolbar
ViewBag.HasListHeaderPuts default value off (false)
ViewBag.ContentNamePuts default value CreateContent
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 CreateSetViewBag()
Examples
This example change the content by ContentName. Required file "_CreateContentPartialQualiAssessment.cshtml" exist in View directory
protected override void CreateSetViewBag()
{
    ViewBag.ContentName = "_CreateContentPartialQualiAssessment";
    base.CreateSetViewBag();
}
See Also