[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

MobileControls.Form Action - Relative URL Problem

jordan_mccall

8/12/2003 4:08:00 PM

Help!!!

My company has just standardized on Blackberry as a wireless PDA. I
have created a mobile version of our employee portal using .Net mobile
controls.
There are a couple of mobile forms that perform some basic functions
(searching our employee directory, setting your status, etc.). They
work quite well with the following exception:

If a user browses to a link outside of the employee portal site then
uses the "back" button of the BB to get back to the portal. If they
then go to one of the forms mentioned above and attempt a postback,
the "root" of the URL is that of the site they were just at, e.g.,
"http://wap.google.... Thus, the page is trying to post to
"http://wap.google.com/setstatus.....

What I've tried:
Changing the "useFullyQualifiedRedirectUrl" to true or false - no luck

Programatically setting the form action property to use an absolute
URL. This solves the root URL problem, but when postback occurs
IsPostBack is always false.

Creating my own mobile form, inheriting from the base form and
overriding the render method to set the action property. I've decided
that's impossible unless I had the source code for the base method.

I've found ways to set the action property to "root" the path with
javascript after the server side page load, but obviously this won't
work with mobile because javascript is not an option here. (At least
I don't think it is...)

What am I missing? Has anyone else had this problem?

Any and all advice greatly appreciated!
Jordo