Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Tue, 20 May 2008 12:51:45 -0700 (PDT),    group: microsoft.public.dotnet.framework.aspnet.mobile        back       


RedirectToMobilePage in MobileBaseControl   
I am in the process of updating a mobile web application from 1.1 to
2.0.  The application uses a MobileBaseControl that contains the
footer on the mobile page.  Basically it contains links to home,
logout, etc...
The link event does the following:

MobilePage mpage = new MobilePage();

mpage.RedirectToMobilePage(somepage, false);

Under 1.1 it was working fine.  However under 2.0 I get the error:
Response is not available in this context.


I saw some other posting about using
this.RedirectToMobilePage(somepage, false).  However since this class
inherits from MobileBaseControl, I can't do that.

Does anyone have any ideas?

Thanks,

Roger
date: Tue, 20 May 2008 12:51:45 -0700 (PDT)   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us