This concept has been covered in one of your similar threads. The following construct simply will not work due to fundamentally how web sites and the browser work.
Url.Content() returns the absolute path to a file which has no meaning on the client. Also, the Url.Content() method
takes accepts a relative path to the host root not a network share.
The JavaScript
load function expects a URL not a file path.
$("#partialView").load('/path/to/the/action');
Perhaps explain the problem you are trying to solve as there is probably an standard solution.
Member
75 Points
513 Posts
how to call another view from local c
Oct 03, 2019 05:50 AM|zhyanadil.it@gmail.com|LINK
i want to call this page(edit_print_format) from local c insdie folder temp edit_print_format
All-Star
52261 Points
23315 Posts
Re: how to call another view from local c
Oct 03, 2019 11:33 AM|mgebhard|LINK
This concept has been covered in one of your similar threads. The following construct simply will not work due to fundamentally how web sites and the browser work.
Url.Content() returns the absolute path to a file which has no meaning on the client. Also, the Url.Content() method takes accepts a relative path to the host root not a network share.
The JavaScript load function expects a URL not a file path.
Perhaps explain the problem you are trying to solve as there is probably an standard solution.