Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > RedirectToMobilePage in MobileBaseControl

Thread Tools

RedirectToMobilePage in MobileBaseControl
Posts: n/a
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?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RedirectToMobilePage throws Threading exception SJ ASP .Net 0 11-02-2005 03:33 PM
ASP.NET: Problem on RedirectToMobilePage() Sara T. ASP .Net 0 04-20-2005 04:32 PM
Problem on RedirectToMobilePage() in ASP.NET Sara T. ASP .Net 0 04-12-2005 04:36 PM
redirecttomobilepage from .ascx file Trine ASP .Net Mobile 2 01-12-2005 09:43 AM
RedirectToMobilePage Kenny ASP .Net Mobile 0 09-05-2003 04:43 AM