I am trying to load a partial view on the page like below
$('#logindisplay').load('@Url.Content("/../../Shared/_LogOnPartial.cshtml")');
but every time it says the specified not found, while many times i changed the path and all work fine.
Does this type of partial view loading is supported by jquery or i have to calan action method every time
Seeing the second answer i come to conclustion that every time i need to load a apartial view i have to call a action methid that will return the partial view, but it doesn't accept the whole path mentioned int the load function hard coded for the partial view to be loaded.