This follows on from question 22578710 where a hyperlink need to look like a button.
I'd like the link <input type="button" value="Return to Main" onclick="location.href='/Default.aspx';" />
to be the same location as what ~/Default.aspx would generate, but ~/Default.aspx doesn't work. Neither does ../Default.aspx or ./Default.aspx - it takes me to root not a level down
(alteratively a solution with ASP.net hyperlink styled like a hyperlink would do)
Thank-you in advance