RedirectToMobilePage in MobileBaseControl

R

rwoo_98

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,708
Messages
2,569,346
Members
44,650
Latest member
LuckyVivo

Latest Threads

Top