Hi everyone,
In Default.aspx I have a link, with parameter, to call other page:
href="treinamento/mapeamento-e-melhoria-de-processos"
My Global.asax have these routes:
routes.MapPageRoute("treinamentos_route", "treinamento/{vaba}",
"~/treinamentos.aspx");
routes.MapPageRoute("Default_route", "home", "~/default.aspx");
this is correct: /treinamento/mapeamento-e-melhoria-de-processos
When I'm in treinamentos.aspx page, and click to return to page "home",
doesn't return. In address bar this path is showed /treinamento/home, but
the correct would be /home.
The command to call page "home" is window.location.href = 'home';
Please, what's happening?
Thanks, best
Daniel