Produto
Demonstração da loja
Galeria
Funcionalidades
Porquê para programadores
Porquê para os proprietários de lojas
Industrias
Moda
Saúde e Beleza
Alimentação e Bebidas
Automóvel
Industrial e Científico
Mobiliário
eCommerce B2B
International
Transferências
Descarregar nopCommerce
Mercado
Traduções
Chave de remoção de direitos autorais
Aplicação móvel
Web API
Suporte & serviços
Formação
Documentação
Fóruns da Comunidade
Serviços de suporte premium
Solicitar orçamento
Contacte-nos
Parceiros
Português
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Iniciar
Shopping cart
A Minha conta
Iniciar sessão
Registe-se
Início
>
Fóruns
>
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 de postagens:
26
Karma:
130
Ingressou:
11/12/2019
Localização:
Albania
Postado:
4 anos atrás
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 de postagens:
26
Karma:
130
Ingressou:
11/12/2019
Localização:
Albania
Postado:
4 anos atrás
Solved it in a rather hacky way.., so by using the model the
Edit(
int
id)
generates.
sanju.dahal741
Programador certificado
Total de postagens:
304
Karma:
3032
Ingressou:
28/03/2017
Localização:
Nepal
Postado:
4 anos atrás
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.
Ainda tem dúvidas ou precisa de ajuda?
.
Serviços de suporte premium
.
Obtenha suporte dedicado da equipa nopCommerce com uma resposta garantida em 24 horas.
.
Curso on-line para programadores
.
Obtenha as habilidades práticas e técnicas que necessita para executar e personalizar websites nopCommerce.