# DetailsPage Navigation from PageControl

**URL:** <https://forums.fusetools.com/t/detailspage-navigation-from-pagecontrol/1400>\
**Category:** How-to Discussions\
**Created:** [January 6, 2017, 10:15am UTC](https://forums.fusetools.com/t/detailspage-navigation-from-pagecontrol/1400 "2017-01-06T10:15:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nderitumaxwell](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@nderitumaxwell](https://forums.fusetools.com/u/nderitumaxwell)\
**Post date:** [January 6, 2017, 10:15am UTC](https://forums.fusetools.com/t/detailspage-navigation-from-pagecontrol/1400/1 "2017-01-06T10:15:01Z")

</div>

Hi all, new comer here, had a small question on the `PageControl`.  
I wanted to disable the DetailsPage when swiping through the `navigation` PageContol and enable it once a want to view details on an clicked item in the HomePage.

```xml
<PageControl ux:Name="navigation" Padding="10">
	<HomePage ux:Name="page1">
		<ScrollView>
			<Each Items="{items}">
				<Item Click="{navigateToDetails}" />
			</Each>
		</ScrollView>
	</HomePage>
	<FavouritePage ux:Name="page2" />
	<SearchPage ux:Name="page3" />
	
	<DetailsPage ux:Name="detailsPage" />
</PageControl>

```

Once navigated into the DetailsPage I should be able to navigate back to the HomePage.

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [January 6, 2017, 10:19am UTC](https://forums.fusetools.com/t/detailspage-navigation-from-pagecontrol/1400/2 "2017-01-06T10:19:02Z")

</div>

You may wish to use `Navigator` instead, as `PageControl` is strictly for a linear set of pages.

[https://www.fusetools.com/docs/navigation/navigation](https://www.fusetools.com/docs/navigation/navigation)

---

<div class="post-metadata">

**Author:** ![nderitumaxwell](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@nderitumaxwell](https://forums.fusetools.com/u/nderitumaxwell)\
**Post date:** [January 9, 2017, 8:28am UTC](https://forums.fusetools.com/t/detailspage-navigation-from-pagecontrol/1400/3 "2017-01-09T08:28:15Z")

</div>

Thanks that helped alot.

To fix it I changed the `MainView.ux` to have two pages. One page for the app content (`AppPage`) and the other for the Details (`DetailsPage`). In the `MainView.ux` I used the `Navigator` for page navigation and inside `AppPage` I used `PageControl` where it hosts the `HomePage`, `FavouritePage` and `SearchPage`.
