Skip to Content
0
Former Member
Apr 30, 2004 at 07:51 PM

How can I hide a sub-controller's view on the screen?

22 Views

Hello Experts-

BSP-MVC related question.

I have a main controller with a view. In it I use two HTMLB tray controls to display two sub-controllers (each with their own views).

I want to be able to handle an event in one of these sub-controllers (such a mouse click) and hide both these sub-controllers from the screen.

I then want to display two different sub-controllers (each with their own views) on the screen.

Essentially, I want to handle a sub-controller event and replace two sub-controller views on the screen with two others.

How can I do this?

I am aware of event handling. I just need the appropriate method for the hiding of sub-controller views(ie. I don't know whether I need to use CONTROLLER_SET_ACTIVE or DELETE_CONTROLLER or any other)

Thanks,

- Vik.