I can't access Page.RouteData or Response.RedirectPermanent in web forms upgraded from 3.5 to 4.0 ?
- by Barbaros Alp
Hi,
I have upgraded my web application from 3.5 to 4.0 to get benefits of the new features of ASP.NET 4.0.
When i try to get Route Data Values; Page.RouteData.Values["customerId"] with this code i couldn't reach the RouteData.Values collection the Page class doesnt contain a member called routedata.
I also have the same issue with Response.RedirectPermanent...
What might be the reason ?
Thanks in advance