产品
商城演示
案例演示
功能
致开发者
致商店所有者
工业
时尚
健康与美容
食品与饮料
汽车
工业和科学
家具
B2B 电子商务
国际
下载
下载nopCommerce
市场
翻译
版权删除密钥
移动应用程序
Web API
支持 & 服务
训练
文档
社区论坛
高级支持服务
请求报价
联系我们
合作伙伴
简体中文
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
马上开始
Shopping cart
我的帐户
登录
注册
首页
>
论坛管理
>
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
回帖总数:
26
业力:
130
注册日期:
2019/12/11
位置:
Albania
发表于:
4 年 前
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
回帖总数:
26
业力:
130
注册日期:
2019/12/11
位置:
Albania
发表于:
4 年 前
Solved it in a rather hacky way.., so by using the model the
Edit(
int
id)
generates.
sanju.dahal741
认证开发者
回帖总数:
304
业力:
3032
注册日期:
2017/3/28
位置:
Nepal
发表于:
4 年 前
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.
仍然有问题或需要帮助?
.
高级支持服务
.
获得nopCommerce团队的专门支持,并在24小时内保证得到答复。
.
开发者在线课程
.
获得运行和自定义nopCommerce网站所需的实用技术技能。