problem about redirecttoroute-Collection of common programming errors


  • teresko
    asp.net-mvc asp.net-mvc-routing redirecttoaction redirecttoroute
    Im Redirecting my action Using RedirectToRoute with parametes and i defined the route in global.asaxreturn RedirectToRoute(“RouteName”, new { action = “Search”, Id, Customer, Source,class,Type,Desc, Date, Loc, input, prod, effDate, remainDate });routes.MapRoute(name: “RouteName”,url: “{controller}/{action}/{Id}/{Customer}/{Source}/{class}/{Type}/{Desc}/{Date}/{Loc}/{input}/{prod}/{effdate}/{remainDate}/”,defaults: new{controller = “MyCOntroller”,action = “Search”,Id = UrlParameter.Optional,Custo

Originally posted 2013-11-29 06:15:34.