Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

OBSOLETE - How to implement a controller that will work for more than one target object type (Example)

$
0
0

========================

To make a single ViewController or Action available in Views of different business object types simultaneously, set the TargetObjectType property in code to an interface or their base class type, which is implemented or inherited by all these business types respectively.  Alternatively, for the same task, you can specify several View identifiers via the TargetViewId property.

========================

See the How to implement a controller that will work for more than one target object type KB Article for a complete description.

Question Comments

Added By: rushdan . at: 7/29/2014 10:39:37 PM    

error when click run online.

ps: I dont how to paste or attach  the print screen.

Added By: Dennis (DevExpress Support) at: 7/30/2014 9:07:13 AM    @rushdan: Thank you for your feedback. We will move the information from this article into our documentation. I have updated the description accordingly.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>