Hi,
I'm creating an handler that that will return an xml sitemap, and i've came across a problem. I cannot seem to be able to set multiple parameters on a single route:
Dim params As RouteValueDictionary = New RouteValueDictionary(New With {.lang = "pt", .meta_id = row("MetaId")})
Dim vdp As VirtualPathData = RouteTable.Routes.GetVirtualPath(Nothing, "content", params)
ain't working, but i've been able to use a single parameter by using:
Dim params As RouteValueDictionary = New RouteValueDictionary({"lang", "pt"})
Dim vdp As VirtualPathData = RouteTable.Routes.GetVirtualPath(Nothing, "contactsPT", params)
I've also tried:
Dim params As RouteValueDictionary = New RouteValueDictionary({"lang", "pt"}, {"meta_id", row("MetaId")})
Dim vdp As VirtualPathData = RouteT ...
Go to the complete details ...