# Web Container in Web Container - WebContainer2 set WebContainer1 WebButton visibility

**URL:** <https://forum.xojo.com/t/web-container-in-web-container-webcontainer2-set-webcontainer1-webbutton-visibility/44539>\
**Category:** Web\
**Created:** [July 28, 2018, 1:36pm UTC](https://forum.xojo.com/t/web-container-in-web-container-webcontainer2-set-webcontainer1-webbutton-visibility/44539 "2018-07-28T13:36:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_Fitzsimmons](https://forum.xojo.com/user_avatar/forum.xojo.com/carl_fitzsimmons/32/15362_2.png) [@Carl\_Fitzsimmons](https://forum.xojo.com/u/Carl_Fitzsimmons)\
**Post date:** [July 28, 2018, 1:36pm UTC](https://forum.xojo.com/t/web-container-in-web-container-webcontainer2-set-webcontainer1-webbutton-visibility/44539/1 "2018-07-28T13:36:24Z")

</div>

I have a WebPage - WebPage1 - that has two separate Web Containers each of which perform certain work. WebContainer1 is the main web container that appears inside WebPage1 and WebContainer2 is dragged into WebContainer1 becoming WebContainer2\_1. This works well to keep WebContainer2\_1 centered depending on WebContainer1

WebContainer1 has a WebButton - WebButton1 - that is not visible when WebContainer1 is shown. WebContainer2\_1 has a file upload capability. Text in this area describes to the user to either click or drag a file into it. When the file type is correct I need WebButton1 to become visible. When the file type is not correct a MsgBoxDialog is displayed. This all works well.

I cannot figure out how to make WebButton1 visible after the method inside WebContainer2\_1 were successful. I have attempted several different ways such as an instance of WebContainer1 inside WebContainer2\_1

What am I missing that prevents WebButton1 from being set to visible from the method inside WebContainer2\_1

---

<div class="post-metadata">

**Author:** ![Carl\_Fitzsimmons](https://forum.xojo.com/user_avatar/forum.xojo.com/carl_fitzsimmons/32/15362_2.png) [@Carl\_Fitzsimmons](https://forum.xojo.com/u/Carl_Fitzsimmons)\
**Post date:** [July 28, 2018, 3:34pm UTC](https://forum.xojo.com/t/web-container-in-web-container-webcontainer2-set-webcontainer1-webbutton-visibility/44539/2 "2018-07-28T15:34:19Z")

</div>

To simplify I calculated where Left should be and placed all WebButtons and Methods in WebContainer1 and never included WebContainer2.

Basically what I had were two separate WebContainers that worked fine as they existed and were called on with separate actions. From a User perspective having the two WebContainers work together was preferable as one led into the other.

So if anyone takes a look at this is it that there is no way to enable the functionality I was seeking to do?

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 7:18pm UTC](https://forum.xojo.com/t/web-container-in-web-container-webcontainer2-set-webcontainer1-webbutton-visibility/44539/3 "2020-10-29T19:18:00Z")

</div>


