How can you access RouteData from the code-behind? April 25, 2023 by Tarik You could also use the following: //using System.Web; HttpContext.Current.Request.RequestContext.RouteData