This project is read-only.

Pass data from controller to driver

Topics: Core, Customizing Orchard, General, Nederlands (Dutch), Writing modules
May 26, 2015 at 1:51 PM

I would like to know how i can pass data from an MVC controller action to an Orchard driver action.
Can anyone help with this?


May 27, 2015 at 10:51 PM
There is no direct way for this but you could pass data e.g. through a part. What exactly do you want to achieve?
Jun 1, 2015 at 12:01 PM
Sorry for my late reaction..
I have a part that contains a Form. When a user submits that form, it gets posted to a POST action of a controller. If the entered formdata is not valid i want to return an errormessage that has to show up in the part.