Product
Store demo
Showcase
Features
Why for developers
Why for store owners
Industries
Fashion
Health & Beauty
Food & Beverage
Automotive
Industrial & Scientific
Furniture
B2B eCommerce
International
Downloads
Download nopCommerce
Marketplace
Translations
Copyright removal key
Mobile application
Web API
Support & services
Training
Documentation
Community forums
Premium support services
Request a quote
Contact us
Partners
English
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Get started
Shopping cart
My account
Log in
Register
Home
>
Forums
>
General
>
Development
>
In Customer List Edit Page, Save button receiving empty model
In Customer List Edit Page, Save button receiving empty model
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Onion
Total Posts:
26
Karma:
130
Joined:
12/11/2019
Location:
Albania
Posted:
4 years ago
Where does
Edit(CustomerModel model,
bool
continueEditing, FormCollection form)
get the model from? I thought it just got the model displayed in the very page the buttons calling the action are located, but that one is not empty...
Onion
Total Posts:
26
Karma:
130
Joined:
12/11/2019
Location:
Albania
Posted:
4 years ago
Solved it in a rather hacky way.., so by using the model the
Edit(
int
id)
generates.
sanju.dahal741
Certified Developer
Total Posts:
258
Karma:
2562
Joined:
3/28/2017
Location:
Nepal
Posted:
4 years ago
I think you are confused with the method signature and HTTP verbs.
The top method signature is for HttpPostwhich is used when you need to post the data while the second one is for HttpGet.
For more details on
https://stackoverflow.com/questions/2080863/what-is-the-difference-between-a-http-get-and-http-post-and-why-is-http-post-wea
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Still have questions or need help?
.
Premium support services
.
Get dedicated support from the nopCommerce team with a guaranteed response within 24 hours.
.
Online course for developers
.
Get the practical and technical skills you need to run and customize nopCommerce websites.