Question: I am using mvvm pattern and using integerupdown button in the WPF application.  

To invoke command currently I am using ValueChanged trigger as following -

```
    <i:Interaction.Triggers>
         <i:EventTrigger EventName="ValueChanged">
               <i:InvokeCommandAction Command="{Binding PercentChangedCommand}" />
         </i:EventTrigger>
    </i:Interaction.Triggers>

```

This works perfectly fine when user changes value using mouse click on up or down arrow.  

Problem is the moment user wants to type in textbox, the event get triggered for every character typed in. Instead I want to allow user to type in numbers and trigger command only on hitting Enter.

Please suggest.

Answer: 
Add an Onclick attribute on all Links and set it to `location.reload();` OR add an Event Listener and listen for `click` and then set it to perform `location.reload();`.

Or you could add `location.reload();` at the end of the code that process the click.

Note : `location.reload();` is JavaScript.

EDIT :
Thanks to the comment, I noticed that there's actually `location.reload()` function present. But it will be executed after 3000ms. Please ensure that 3000ms has passed. If nothing happens, check the Console for any error message.
Use `window.location.reload()` instead location.reload() to refresh/reload the current page