Article ID: 310481 - Last Review: June 14, 2002 - Revision: 1.0 PRB: Errors Are Generated When You Use Redirects in Mobile Web Forms Pages
This article was previously published under Q310481 SYMPTOMS
When you use the Response.Redirect method in a mobile Web Forms page, you may receive the following error message:
Calling Response.Redirect on a postback can have unpredictable results on mobile devices and gateways. Use MobilePage.RedirectToMobilePage method instead.
CS0120: An object reference is required for the nonstatic field, method, or property 'System.Web.UI.MobileControls.MobilePage.RedirectToMobilePage(string)'
RESOLUTION
To resolve this issue, use the following syntax: Microsoft Visual Basic .NET STATUSThis behavior is by design. | Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

Back to the top