I tried to implemented the Default redirect rule but the default.aspx (in the root folder of my site) page seem to postback onto itself when i click on an asp button or link button.
I don't have a problem with a standard href link which successfully allows me to navigate to a new page.
This is what I have for the url rewrite in the webconfig.....
<rule name="Default Document" stopProcessing="true">
<match url="(.*)default.aspx" />
<action type="Redirect" url="{R:1}" redirectType="Permanent" />
</rule>
taken from http://blogs.msdn.com/carlosag/archi...commentmessage
The code that should run and take me to a new page is this...
Protected Sub cmdShoppingBasket_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdShoppingBasket.Click
Response.Redirect("~/Shopping-Basket.aspx")
End Sub
The code does a few other things as well before the response.redirect.
The site is hosted on discountasp.net.
Thanks
Will