I can't access Page.RouteData or Response.RedirectPermanent in web forms upgraded from 3.5 to 4.0 ?

Posted by Barbaros Alp on Stack Overflow See other posts from Stack Overflow or by Barbaros Alp
Published on 2010-06-06T19:12:14Z Indexed on 2010/06/07 8:22 UTC
Read the original article Hit count: 375

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

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about webforms