1
I have the following case: I have a navigation page of "Third Party", with several Partials defining their corresponding data.
To do that navigation I’m doing by javascript, and carry the Partial as follows (example of a partial):
$("#divContactosTerceiro").empty();
$("#divContactosTerceiro").load("Terceiros/sContactosTerceiro", { NumRegistoTerceiro: result.result.NumRegisto });
Here send the data NumRegistoTerceiro to the controller Terceiros/sContactosTerceiro. So far so good, works perfectly.
What I’m doing now?
I’m opening a new tab from a Alertas, the page of Terceiros, where will perform the function javascript of the above code example.
Problem?
Is that the javascript adds twice the name of the controller to load Partial in the new tab, as shown in the image:

How can I get around this problem? I can’t find any useful reference on the net.
It doesn’t work if you use
.load("~/Terceiros/sContactosTerceiro"?– Tiago César Oliveira
It doesn’t work if you use
.load("Terceiros/sContactosTerceiro"– CesarMiguel