Questions tagged [subcontroller]
9 questions
9
votes
4 answers
ModelFactory in ASP.NET MVC to solve 'RenderPartial' issue
The 'RenderPartial()' method in ASP.NET MVC offeres a very low level of functionality. It does not provide, nor attempt to provide a true 'sub-controller' model *.
I have an increasing number of controls being rendered via 'RenderPartial()'. They…

Simon_Weaver
- 140,023
- 84
- 646
- 689
2
votes
1 answer
Using ASP.NET MVC SubControllers with action parameters?
I am experimenting with MvcContrib subcontrollers. Looking at the example in the source, your parent controller (HomeController) takes an action which takes the subcontroller (FirstLevelSubController) as a parameter:
public class HomeController :…

James Allen
- 6,406
- 8
- 50
- 83
1
vote
1 answer
Angularjs - Calling only one of many subcontrollers/ multiple controllers
I have an index page wherein I define two controllers. I want to call one main controller always (should be rendered always) and the other is called only for specific sub URL calls. Should I make one nested within another, or I can keep them…

Loser Coder
- 2,338
- 8
- 42
- 66
0
votes
0 answers
CodeIgniter: how can sub controller load config from parent controller
I am totally new to the world of codeigniter and php. I have taken over a code and looking to fix small issues.
Can someone guide me to load or autoload the configuration file of parent controller from the sub controllers?
also how to use the DB…

SpeedRacer
- 145
- 9
0
votes
2 answers
Subcontroller loses passed data from MainController
I have searched this problem for days now and can't find a solution.
I have a MainController which is supposed to hold an ArrayList. When I start the Application the SubController is supposed to be initialised in the initialize() method of the…

Christopher
- 13
- 5
0
votes
1 answer
JavaFX start method everytime included tabcontent is called
How can I start a method every time a tab is called? I have a Main.fxml with a tabpane and two tabs, I've included a separate fxml for each tab (tab1.fxml, tab2.fxml).
Main.fxml

VRage
- 1,458
- 1
- 15
- 27
0
votes
1 answer
subcontroller/partialrequest and form action method
What I need to do is the following
Set small login form (or any
partial view)
Complete login
actions
Get back to the SAME
place (controller/action) user was
before clicking LOGIN button
Any of Partial Request/Subcontroller,RenderAction solutions…

Andrej Kaurin
- 11,592
- 13
- 46
- 54
0
votes
2 answers
How to enable search for a RadioGroup DVC in MonoTouch.Dialog?
I have a RadioGroup with very many RadioElements as a Sub-DialogViewController:
Root.Add(
new Section() {
new RootElement ("Demo", new RadioGroup ("demogroup", 0)) {
new Section () {
from demoItem in…

Rodja
- 7,998
- 8
- 48
- 55
0
votes
1 answer
Code Igniter doesn't recognize my function in controller under a folder
I have a folder under my main controller-folder called admin, in that controller i have a file name admin.php which has a function xyz.
I want to access that function using this url
http://localhost/webroot/admin/xyz
However when I try to access…

Bilal Ahmad
- 191
- 1
- 2
- 17