Skip to Content
0
Former Member
Nov 08, 2012 at 03:20 PM

How to determine popup level on runtime?

31 Views

Hi to all! Please, help me.

I have a view. My view is built in into two different places via ViewContainerUIElement.

The first place is a simple page of application.

The second place is a popup.

How can I determine within my view on runtime where was my view called?

Is there any system variable, that shows in what "popup level" I am?

SET/GET parameters, IMPORT/EXPORT MEMORY ID, attributes of assistance class, I think, are not suitable solution, because user can make actions in two places in the same time. Analize of previos view, I think, is not suitable too because it is the same in two cases.