Redirect to root page in asp.net



Response.Redirect resolves "~" root path reference.

      The following is the way to redirect a page to root folder page in asp.net

Response.Redirect(ResolveURL("~/Default.aspx"))

it can be called just

Response.Redirect("~/Default.aspx")



0 comments:

Post a Comment