This post originated from an RSS feed registered with .NET Buzz
by Peter van Ooijen.
Original Post: A better refresh button for asp.net pages
Feed Title: Peter's Gekko
Feed URL: /error.htm?aspxerrorpath=/blogs/peter.van.ooijen/rss.aspx
Feed Description: My weblog cotains tips tricks and opinions on ASP.NET, tablet PC's and tech in general.
Yesterday I wrote a little post on a refresh button for asp.net pages. It worked but had jump through some hoops. To simulate a refresh it posted back to the original page which in turn redirected itself to itself. Which is a waste of resources. As Simonepointed out it should simpler; like a straight link out of the browser. He's right. I will use a server side hyperlink as that gives me the possibility to fiddle with its properties on the server.
This refresh button works just like the back button, this one sets it's url to that of the page itself.