¡@

Home 

c# Programming Glossary: viewbag

What is the best way to pass objects to “navigated to” viewmodel in MVVMCross?

http://stackoverflow.com/questions/10658913/what-is-the-best-way-to-pass-objects-to-navigated-to-viewmodel-in-mvvmcross

the other team players as well. Have a ASP.Net MVC like ViewBag service which can carry data only between navigate actions in..

Creating a MVC ViewModels for my data

http://stackoverflow.com/questions/15432246/creating-a-mvc-viewmodels-for-my-data

an entity model and then some other data by way of a ViewBag or ViewData and inevitably the solution to their problem is..

validate a dropdownlist in asp.net mvc

http://stackoverflow.com/questions/4729440/validate-a-dropdownlist-in-asp-net-mvc

a dropdownlist in asp.net mvc in controller ViewBag.Categories categoryRepository.GetAllCategories .ToList in view.. .ToList in view @Html.DropDownList Cat new SelectList ViewBag.Categories ID CategoryName How can I make it so that by default.. can't believe that there are people still using ViewData ViewBag in ASP.NET MVC 3 instead of having strongly typed views and..

Using view models in ASP.NET MVC 3

http://stackoverflow.com/questions/5306655/using-view-models-in-asp-net-mvc-3

to be displayed to the view bag or view data like so... ViewBag.Project project I can then do the following... @Html.LabelFor.. already do that. I'd love to call... @Html.LabelFor model ViewBag.Project.Name But dynamic causes a problem in expressions. c#.. the view drop down lists labels etc I use the dynamic ViewBag. I believe that displaying the view i.e. populating anything..

'object' does not contain a definition for 'X'

http://stackoverflow.com/questions/7652749/object-does-not-contain-a-definition-for-x

resolve it. I have a list generated in an MVC3 controller ViewBag.Languages db.Languages .Select x new x.Name x.EnglishName x.Id.. my page Razor I try to iterate through it foreach var o in ViewBag.Languages string img Lang o.EnglishName .png @ work @ but the.. this question You are using an anonymous object here ViewBag.Languages db.Languages .Select x new x.Name x.EnglishName x.Id..