![]() If I take a look at the windows menu, we see that each of the pop up window instances are listed and keep doing this as many times as I like. Properties for this component allow for you to specify characteristics of. The parent window must contain a User Control that has the AxPopupParentControl component. The parent window is the page in Enterprise Portal from which the pop-up window is opened. And you'll see there's multiple instances of that same pop up just looking at each different tank. Pop-up windows like this can still be used in Microsoft Dynamics AX 2012. So I'll start clicking on my tank templates. Now let's take a look at the client one more time. This just tells the script that instead of using the same pop up window, go ahead and open up a new instance if there's one already open. This is something that was added in 7-8-0. Now to make this script open an additional instances of the pop up window, we need to check this additional instances checkbox here. We'll right click, go down to scripting, and we see the script here on the open action is opening the pop ups, pop up window and it's passing some tank UDT parameters over. You see that I'm looking at my tank template here and it has a script on the template so we'll take a look at the script. I'll close my pop up window and I'll head back to my designer. Next, let's take a look at how we can change this behavior and have multiple instances of the same window open at the same time. This is the default behavior because we want to try to limit the number of open windows in the client. What's happening is that clicking on different tanks reopens the pop up window, it passes new parameters into this pop up window instance here. Now if I click on a different tank, say tank 101 over here, you can see that the pop up window is now looking at tank 101, but there's still only three windows open. If I take a look at my windows menu here, we can see that there are three windows open, navigation, pop up and tank overview. In order to achieve that, we need to pass on additional parameters to the window.open method. In certain cases, you may want to disallow such actions on the popup window. I have four tanks here in my client, If I click on any one of these tanks, I get a little pop up window that gives me some additional information on the tank. In the most basic form as we saw above, the popup window will allow users to resize, scroll and change the address of it. By default, the client only opens the single instance or copy of a pop up window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |