Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to get parent controller name from dataview?

So, there's a simple thing I'm trying to accomplish, but haven't found any solution to:

Let's say that I have 2 controllers.
The A controller has a dataview to the B controller.
The B controller has an important business rule, where it sets a specific value to a field according to the name of the controller A.

I need the business rule to be a C# code business rule (because this data will be used elsewhere as well). The action phase doesn't matter.

How can I get the name of the controller A while on a B's business rule?
1 person has
this question
+1
Reply