Is ViewBag implemented in Sitefinity MVC?
On this page of the documentation regarding MVC widgets, the demo uses the "ViewData" object to set properties. Generally in Microsoft's MVC 3 documentation, they commonly use "ViewBag" rather than ViewData.
My question: Is ViewBag ALSO implemented in Sitefinity 5.1, or should we always use ViewData?
Hi Dan,
I was able to use the ViewBag and it worked properly in my test project.
Bobby