Produit
Boutique de démonstration
Démonstration
Caractéristiques
Pour les développeurs
Pour les propriétaires de magasins
Industries
Mode
Santé & Beauté
Nourriture & boissons
Automobile
Industriel & Scientifique
Meubles
Commerce électronique B2B
International
Téléchargements
Télécharger nopCommerce
Marketplace
Traductions
Clé de suppression des droits d'auteur
Application Mobile
Web API
Support & Services
Formation
Documentation
Forums communautaires
Services d'assistance premium
Demander un devis
Contactez-nous
Partenaires
Français
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Commencer
Shopping cart
Mon compte
Connexion
S'enregistrer
Accueil
>
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
Nombre de messages:
26
Karma:
130
Inscrit:
11/12/2019
Localisation:
Albania
Posté:
Il y a 4 ans
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
Nombre de messages:
26
Karma:
130
Inscrit:
11/12/2019
Localisation:
Albania
Posté:
Il y a 4 ans
Solved it in a rather hacky way.., so by using the model the
Edit(
int
id)
generates.
sanju.dahal741
Développeur certifié
Nombre de messages:
304
Karma:
3032
Inscrit:
28/03/2017
Localisation:
Nepal
Posté:
Il y a 4 ans
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.
Vous avez encore des questions ou avez besoin d'aide?
.
Services d'assistance premium
.
Bénéficiez d'un support dédié de la part de l'équipe nopCommerce avec une réponse garantie dans les 24 heures.
.
Cours en ligne pour les développeurs
.
Obtenez les compétences pratiques et techniques dont vous avez besoin pour gérer et personnaliser les sites Web nopCommerce.