Closed pzejer closed 1 year ago
I don't know just enough MVC to be dangerous. But was this meant for a docs update or reporting an issue with the MVC pipeline ?
I don't know just enough MVC to be dangerous. But was this meant for a docs update or reporting an issue with the MVC pipeline ?
In my opinion - reporting issue with MVC which, when will be confirmed I think that is meaningful for docs
You will probably get more help if you create an issue at https://github.com/dnnsoftware/Dnn.Platform/issues if it boils down that it is expected behaviour and needs to be somehow documented better, we can bring back a documentation issues here after that.
I put MVC module on the same page. Views of those modules include submit button and set of input/select controls. I crated POST Index action to take a parameters value. In my controller I have two actions Index() and [POST] Index(with_parameters) When I click button in the view of one module:
MVC module one in the controller have: public ActionResult Index() { var model = .... return View(model); } and [HttpPost] Index(with-parameters) { var url = some logic to create url return Redirect(url); }
MVC module two is almost the same.