# How Page and Page in pageControl are activated together

**URL:** <https://forums.fusetools.com/t/how-page-and-page-in-pagecontrol-are-activated-together/4291>\
**Category:** How-to Discussions\
**Created:** [May 14, 2017, 10:51am UTC](https://forums.fusetools.com/t/how-page-and-page-in-pagecontrol-are-activated-together/4291 "2017-05-14T10:51:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![operate2v](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/operate2v/32/627_2.png) [@operate2v](https://forums.fusetools.com/u/operate2v)\
**Post date:** [May 14, 2017, 10:51am UTC](https://forums.fusetools.com/t/how-page-and-page-in-pagecontrol-are-activated-together/4291/1 "2017-05-14T10:51:52Z")

</div>

Hello!

I am using on Page in navigator. However, the Page in the PageControl does not activatee together.

For example, when I go back to previous page via goBack, I want to activate the page the pageControl points to.

Is there no way?

Login.ux

```auto
    <Page ux:Class="Login">
    <Router ux:Dependency="router"/>
    <JavaScript File="Login.js"/>

    <Activated Handler="{logincon}"/>

    <DockPanel Color="#B0EEFF">
        <Text Value="go!" Alignment="BottomCenter" Clicked="{pushMain}"/>
        <PageControl ux:Name="pages">
            <One ux:Name="one" router="router"/>
            <Two ux:Name="two" router="router"/>
        </PageControl>
    </DockPanel>
</Page>

```

One.ux

```auto
<Page ux:Class="One">
    <Router ux:Dependency="router"/>
    <JavaScript File="One.js"/>
    <Activated Handler="{onecon}"/>
    <DockPanel Color="#B0FFDB">
        <Text Value="One!" Alignment="Center"/>
    </DockPanel>
</Page>

```

When I return to Login.ux, I want to make login.ux logincon and one.ux onecon work together.

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [May 15, 2017, 12:37pm UTC](https://forums.fusetools.com/t/how-page-and-page-in-pagecontrol-are-activated-together/4291/2 "2017-05-15T12:37:51Z")

</div>

Hi operate2v,

the current `<Activated />` implementation does not allow you to do that, unfortunately. You could achieve what you need by using a `WhileVisible` trigger on some parts of your page(s), or by using a global stand-alone JS module that tracks the current open page.

Hope this helps!
