Jan 23rd, 2012, 01:18 PM
Backing class question
This is a bit of a newbie question but here goes...
Is it possible to dynamically have a backing class based on a value in a hidden field on a form or to bind to a class based on whats coming in from the form?
Say for example that I want a generic form controller that based on information being sent to the controller decides which class to put the data in. Can this be done?
I want to basically pass the form data off to a service which will then determine the type, and process accordingly.
Thanks in advance.