views:

33

answers:

1

Hello, I do use T4MVC v.2.6.15

I have following problem with registering routes. I didn't have it with default MVC route register.

My problem route is following:

AddRoute( routes, "Songs",   
//new { controller = "Songs", action = "List", performerUrlTitle = "", page = 1 } );   
            MVC.Songs.List( "", 1 )    
//            MVC.Songs.List().AddRouteValue("performerUrlTitle","").AddRouteValue("page",1)   
); 

when I use first scenario (with plain mvc rules) my controller (see below)

public virtual ActionResult List(string performerUrlTitle, int? page){}  

receives empty line and 1 as a parameters.

But in second (and third) cases I receive to it null for both parameters.

What do I do incorrectly?

Tested url is http://localhost:port/Songs

Thanks

A: 

resolved. See here http://forums.asp.net/p/1575196/3958919.aspx#3958919

Cheburek