Browse by Tags

Related Posts

  • How do I pass multiple lists to a view from a controller.

    I'm trying to pass multiple lists to a view from a controller. How would I go about this? Below I have attached a snippet of my controller function: 1 Function Index() As ActionResult 2 3 Dim tasks = From t In db.Tasks Order By t.EntryDate Descending 4 Dim stuff = From s In db.Stuffs 5 6 Return View...
    Posted to ASP.NET MVC (Forum) by rross on 10-10-2008, 12:00 AM
    Filed under: MVC, MVC .net asp.net UpdateModel IModelBinder, .mvc extension, .net.3.5, action controllers, MVC LINQ, .net framework, action, ASP mvc
  • RouteLink problems

    I can't get Html.RouteLink to correctly render my URL. ------------------------------------------------------------------ global.asax file routes.MapRoute( "Blogs" , // Route name "blogs/{year}/{month}/{day}/{slug}" , // URL with parameters new // Parameter defaults { controller...
    Posted to ASP.NET MVC (Forum) by jamesewelch on 08-08-2008, 12:00 AM
    Filed under: MVC, url, asp.net, action, routelink
  • Route/Action default parameter error

    Let's say I want to map a route that looks something like this: "{controller}/{action}/{param_one}/{param_two}/{param_three}" I pass my defaults like so: new { controller = "TestController",action = "TestAction", param_one = "00000000", param_two = "88888888"...
    Posted to ASP.NET MVC (Forum) by tbarriger on 07-10-2008, 12:00 AM
    Filed under: MVC, route, action
  • strange behivour with routing

    there is strange behviur with routing , i do not know that am i doing wrong and what i am doing wrong i am calling a action in a controller when i call it with id it works but when i try to call it without id it do not work origanlly my global file was like this routes.MapRoute( "Default" ...
    Posted to ASP.NET MVC (Forum) by Ahtesham on 07-05-2008, 12:00 AM
    Filed under: MVC, previev 3, routing, Controller, action
Page 1 of 1 (4 items)