# Navigation and destroying when going back

**URL:** <https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108>\
**Category:** How-to Discussions\
**Created:** [October 3, 2016, 11:21pm UTC](https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108 "2016-10-03T23:21:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fede\_Ratier](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@Fede\_Ratier](https://forums.fusetools.com/u/Fede_Ratier)\
**Post date:** [October 3, 2016, 11:21pm UTC](https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108/1 "2016-10-03T23:21:14Z")

</div>

Hi! I need some light on this issue. I have the following navigation defined

```auto
		<Navigator>
			<CatalogPage ux:Template="Catalog" router="router" />
			<VideoDetailsPage ux:Template="VideoDetails" router="router" />		
			<VideoWebViewPage ux:Template="VideoWebView" router="router" />	
		</Navigator>

```

The last one VideoWebView it’s a WebView with a player. When I hit the back button in Android that page still exists (somewhere) and the video continues to play. How can I destroy it or make the webview navigate to about:blank?

Thanks!

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [October 4, 2016, 9:51am UTC](https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108/2 "2016-10-04T09:51:36Z")

</div>

You can use a trigger to explicitly navigate away from the webpage when you leave that page in the app.  
Something along the lines of:

```auto
<Deactivated>
    <Set myWebView.Url="about:blank"/>
</Deactivated>

```

---

<div class="post-metadata">

**Author:** ![Fede\_Ratier](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@Fede\_Ratier](https://forums.fusetools.com/u/Fede_Ratier)\
**Post date:** [October 4, 2016, 3:29pm UTC](https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108/3 "2016-10-04T15:29:29Z")

</div>

It worked perfectly, thanks!

---

<div class="post-metadata">

**Author:** ![dicoycv](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/dicoycv/32/223_2.png) [@dicoycv](https://forums.fusetools.com/u/dicoycv)\
**Post date:** [October 5, 2016, 6:12pm UTC](https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108/4 "2016-10-05T18:12:37Z")

</div>

> **Remi Pedersen wrote:**
> 
> You can use a trigger to explicitly navigate away from the webpage when you leave that page in the app.  
> Something along the lines of:
> 
> ```auto
> <Deactivated>
> <Set myWebView.Url="about:blank"/>
> </Deactivated>
> 
> ```

I tried this and added

```auto
<Activated>
    <Set myWebView.Url="{url}"/>
</Activated>

```

But for some reason it’s not getting triggered when I go back to that screen. Is there something else to it?

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [October 6, 2016, 8:20am UTC](https://forums.fusetools.com/t/navigation-and-destroying-when-going-back/1108/5 "2016-10-06T08:20:08Z")

</div>

Try this instead: `<Set Target="myWebView.Url" Value="{url}"/>`

There’s an issue with combining the short-hand version of `Set` with databinding. I suspect that could be the reason here.
