I have a user control that will be used in several pages (as is the custom with user controls) that contains a form. I was thinking on how to guarantee its functionality.
First I wanted to have a single controller with a single method accept the values for this form. The only thing blocking me there is that after this method is done with the calculations etc it has to forward to an other controller and method depending on the view the user control originated on.
Then I wanted all the controllers that have this usercontrol to have the same fixed method that would forward then to the default page for that controller. This would only work if the fixed method had exactly one option to forward to (this is the case now, but maybe not tomorow) AND that I could somehow get the calling controller when I build my form tag.
Is there any clean way to either get one of my suggestions working or is there maybe an other option to get this thing going?