I come to you because I am facing a problem, a customer (call center) would like to be able to change qualification sheet in case of error of the caller. For this, I have to dynamically activate my views according to the choice of the user via a listbox, despite I do not know how to do. Of course, these views are conditioned according to a data received by the routing, but after receiving the information and the display of the view, I do not understand how to change the active view. The views are well recorded via this.aContainer.RegisterType<IFormulaireViewModel, FormulaireViewModel>();…
Could you enlighten me on the subject or at least let me know if it is possible?
Hi,
i work on and i find a method :
viewManager.InstantiateDynamicViewInRegion
It works good but if I change the view and i want to return on last view, a exception was return :
{“View with name ‘VALUE’ already exists in the region.”} System.InvalidOperationException
If you instantiate view, the object is created and you cant instantiate it again akaik.
It is better idea to create view once an show/hide controls inside of view based on selected combo value