Get controller and action name from within controller?
For our web application I need to save the order of the fetched and displayed items depending on the view – or to … Read more
For our web application I need to save the order of the fetched and displayed items depending on the view – or to … Read more
I have two controllers SubmitPerformanceController and PrintReportController. In PrintReportController I have a method called getPrintReport. How to access this method in SubmitPerformanceController? 15 … Read more
Is there a way to figure out what the current controller is from within the view? For an example of why I would … Read more
How can the following be accomplished in Magento? Display a “Hello World” message using a controller/view/model approach. So, if I went to http://example.com/myController … Read more
Right now I decorate a method like this to allow “members” to access my controller action [Authorize(Roles=”members”)] How do I allow more than … Read more
I have all of my AngularJS controllers in one file, controllers.js. This file is structured as follows: angular.module(‘myApp.controllers’, []) .controller(‘Ctrl1’, [‘$scope’, ‘$http’, function($scope, … Read more
I currently have two unrelated MVC3 projects hosted online. One works fine, the other doesn’t work, giving me the error: Multiple types were … Read more
I have a requirement where I need to download a PDF from the website. The PDF needs to be generated within the code, … Read more
Can I create a Controller that simply returns an image asset? I would like to route this logic through a controller, whenever a … Read more
I have an action I call from an anchor thusly, Site/Controller/Action/ID where ID is an int. Later on I need to redirect to … Read more