Can this be done without MVC? Is there an easy way to abstract or encapsulate navigational logic?
I currently have quite a lot of the following in my code behinds (and I know it's probably not the best thing to be doing):
protected void btnNext_Click(object sender, EventArgs e)
{
...
if (condition1)
{ Response.Redirect("~/NextPage.aspx"); }
else if (condition2)
{ Response.Redirect("~/AnotherPage.aspx"); }
else
{ Response.Redirect("~/GoBackToOldKentRoad.aspx"); }
}