0
mrthanh created
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Hi,
Are you using AJAX? If so, you should POST a JSON like that:
{ Code: '001', CountryId: 1, Addresses: [ { Address: '...', AddressType: '...', ... }, { Address: '...', AddressType: '...', ... } ] ... }Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I'm using form :( html form :
<input type="text" class="textbox-value" name="Identifiers[0].CountryId" > ...
Thanks
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
And you're calling an MVC action via AJAX? If so, this is not directly related to ASP.NET Boilerplate framework. Because, ASP.NET MVC binds form values to models. So, you can search web for it. I don't use direct form submitting for such scenarios.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)
