Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDownListFor binding
Message
De
15/01/2013 13:27:08
 
 
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 5.0
Divers
Thread ID:
01562476
Message ID:
01562723
Vues:
24
>The Details method is never called :( I don't know how to really trace jquery as the underlying code is too hard for me. I see something is going on in the debugger, but I never see any alert.
>
>I've changed the code to
>
>
>  $.getJSON(url, id, function (data) {
>                    //  setFormControls(data.Id, data.Role, data.Location, data.JobType, data.Description);
>                    alert(data);
>                });
>
>Do you or anyone see what is wrong here?

If it's not returning then presumably the url is wrong. Does the controller get hit?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform