Page Reload issue
-
I want to reload the same page when the user clicks on the same link again. As said in some forums I tried NavigationService.Refresh but it says Refresh is not available in NavigationService. Iam using Sl4. Anyhelp will be appreciated. Thanks Santhosh
Santhosh
-
I want to reload the same page when the user clicks on the same link again. As said in some forums I tried NavigationService.Refresh but it says Refresh is not available in NavigationService. Iam using Sl4. Anyhelp will be appreciated. Thanks Santhosh
Santhosh
There are a number of ways to skin this cat. I don't know if this is best practise but one of the simpler ways is to create a static property that is a pointer to the page. If null open as normal with the constructor setting the static property. If not null then call a method within the page (ie. RefreshPage) which will do the work to refresh the page as required.
-
There are a number of ways to skin this cat. I don't know if this is best practise but one of the simpler ways is to create a static property that is a pointer to the page. If null open as normal with the constructor setting the static property. If not null then call a method within the page (ie. RefreshPage) which will do the work to refresh the page as required.
Thanks Robert for the reply But how do we refresh it (I mean the code)..
Santhosh
-
Thanks Robert for the reply But how do we refresh it (I mean the code)..
Santhosh