Browse by Tags

Related Posts

  • Re: One Strongly Typed ViewData to rule them all?

    Yes so the viewdata class would be somthing like this (which just uses my types generated by SubSonic): 1 Public Class SharedViewData 2 3 Public CategoryList As List(Of SubSonic.DB.Category) 4 Public Category As SubSonic.DB.Category 5 Public ProductList As List(Of SubSonic.DB.Product) 6 Public Product...
    Posted to ASP.NET MVC (Forum) by alivemedia on 05-20-2008, 12:00 AM
    Filed under: MVC, viewdata, Controller
  • ViewData in a Master Page

    Hi, In the Master Page for my site, I want to display a menu based on records in my database. Simple enough concept, but i'm not sure of where to create and pass in the viewdata to the Master Page. With a regular Page View the data would be created in the controller, but do Master Pages have their...
    Posted to ASP.NET MVC (Forum) by marcusjw on 05-19-2008, 12:00 AM
    Filed under: viewdata, Controller, Master Pages
  • Controller.InvokeActionMethod return value.

    Could (Should) InvokeActionMethod return the result of the call to the actual [ControllerAction] decorated method? From what I see, there is nothing preventing this method from having a return type other than void. Hence, using some sort of convention, the return value could be fed as ViewData. Ideally...
    Posted to ASP.NET MVC (Forum) by francois_tanguay on 12-19-2007, 12:00 AM
    Filed under: viewdata, ASP.NET MVC, Controller
Page 1 of 1 (3 items)