Skip to main content

Hi

 

I have a subform with a Content control.

I want the subform to close when something happens on the Content control. The only event the subform can react on, is the Changed event, but I can't figure out when this event is triggered.

The item displayed in the Content control is another smartform, so the question is, can the smartform make the Content control trigger the Changed event, so that I can close the subform?

 

Regards

Oskar

Hello OskarStern,


 


Yes, that is possible with K2, that can be achieved via Rules configuration.


 


1.Configure the control event rule 'when a control on the view raises an event'


2.Choose the control from the rule and then choose the event 'changed'


3.Configure the 'Subview interaction rule'


4.Choose close a 'Subview or subform rule'


5.Select the subform that should be closed when the control is changed


 


The above steps should output the performance you are looking for


 


Best Regards.


Abraham.


Reply