Click here to Skip to main content
14,176,451 members

Web Development

 
PinnedHow to get an answer to your question Pin
Chris Maunder4-Sep-10 2:25
adminChris Maunder4-Sep-10 2:25 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:40
adminChris Maunder12-Jul-09 22:40 
QuestionHandling Web Request Failures Pin
Kevin Marois22-May-19 5:28
professionalKevin Marois22-May-19 5:28 
AnswerRe: Handling Web Request Failures Pin
Nathan Minier22-May-19 6:02
professionalNathan Minier22-May-19 6:02 
QuestionRestSharp Response Question Pin
Kevin Marois20-May-19 13:30
professionalKevin Marois20-May-19 13:30 
AnswerRe: RestSharp Response Question Pin
Richard Deeming21-May-19 0:49
mveRichard Deeming21-May-19 0:49 
QuestionMessage Closed Pin
19-May-19 4:26
memberMaria_Bit19-May-19 4:26 
QuestionAuthentication/Authorisation Pin
Mycroft Holmes16-May-19 12:47
memberMycroft Holmes16-May-19 12:47 
AnswerRe: Authentication/Authorisation Pin
Richard Deeming17-May-19 1:03
mveRichard Deeming17-May-19 1:03 
GeneralRe: Authentication/Authorisation Pin
Mycroft Holmes17-May-19 12:44
memberMycroft Holmes17-May-19 12:44 
QuestionQuestion about empty button top positioning. Pin
neodeaths11-May-19 12:39
memberneodeaths11-May-19 12:39 
AnswerRe: Question about empty button top positioning. Pin
Richard Deeming13-May-19 8:09
mveRichard Deeming13-May-19 8:09 
QuestionWeb API Not Working Pin
Kevin Marois10-May-19 10:57
professionalKevin Marois10-May-19 10:57 
AnswerRe: Web API Not Working Pin
Richard Deeming10-May-19 11:12
mveRichard Deeming10-May-19 11:12 
GeneralRe: Web API Not Working Pin
avrora malkova16-May-19 23:01
memberavrora malkova16-May-19 23:01 
QuestionNeed Some Of Your Help Pin
Member 143595087-May-19 21:12
memberMember 143595087-May-19 21:12 
QuestionMessage Closed Pin
7-May-19 1:47
memberMember 143585397-May-19 1:47 
QuestionMessage Closed Pin
7-May-19 1:46
memberMember 143585397-May-19 1:46 
QuestionMessage Closed Pin
6-May-19 4:26
memberMrPharoah6-May-19 4:26 
QuestionMessage Closed Pin
6-May-19 4:16
memberLucid_App6-May-19 4:16 
NewsMessage Closed Pin
4-May-19 22:38
groupthree602019seo14-May-19 22:38 
QuestionMVC5 Load partial view on link click Pin
#realJSOP4-May-19 6:52
mve#realJSOP4-May-19 6:52 
AnswerRe: MVC5 Load partial view on link click Pin
jkirkerx5-May-19 13:53
professionaljkirkerx5-May-19 13:53 
I didn't know you can do with partial views in MVC.
I was curious so I looked around the internet and found this. Seems like a lot of work to get up and running.

Revisiting Partial View Rendering in ASP.NET MVC - Simple Talk

I would look at the script first. Double check your Url to make sure it's valid, then place a breakpoint in the controller and make sure it hits, then print the results to the console with console.log(response);. You may have to stringify the result to get it to print.

You can hit F12 in your browser and select console to view error messages (console.log) or network to view http request to help figure it out.
function d(id) {
    var url = $(this).data('url');
    $.post(url, { id: id })
     .done(function (response) {
            $("#siteInfoContent").html(response);
    });
without an Id in the query string request
function d(id) {
    var url = $(this).data('url');
    $.post(url)
     .done(function (response) {
            $("#siteInfoContent").html(response);
    });

And then check your CORS policy if you get a Http 404, permission denied.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: MVC5 Load partial view on link click Pin
#realJSOP6-May-19 1:38
mve#realJSOP6-May-19 1:38 
GeneralMessage Closed Pin
14-May-19 8:43
membermalkovich198814-May-19 8:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190525.1 | Last Updated 22 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid