Click here to Skip to main content
15,885,801 members

Comments by Laurentiu LAZAR (Top 7 by date)

Laurentiu LAZAR 6-Sep-16 6:02am View    
Now is work exactly how I expect, even with query string attached.
Just wonder if detail that I provided regarding the fact that the final, real model will have more properties than the fields in JSON may interfere? Normally I suppose that not.
Also I think that it becomes obsolete what I do in my method for assigning values from JSON to model.

Thank you very much!
Laurentiu LAZAR 6-Sep-16 5:52am View    
I did not see your updated answer.
Laurentiu LAZAR 6-Sep-16 5:12am View    
I try this but it does nothing. My method returns the desired JSON content, but nothing is then updated on my form.
Laurentiu LAZAR 6-Sep-16 5:08am View    
So for being sure that I understand well:
$('#CompanyNumber').html(data.numar_reg_com);
$('#Name').html(data.denumire);
$('#Address').html(data.adresa);
$('#Phone1').html(data.telefon);
and so on... ?
Laurentiu LAZAR 9-Jul-15 10:25am View    
Hi,

Is not @razor code but rather a kind of tree of views and calls. I have no idea how to "draw" this better. Otherwise is look pretty well if copied in a Notepad