Archive for the 'Mobile.Net' Category

How to redirect to a page in mobile?

This can be done using Response.Redirect(“pagname”) or using this.RedirectToMobilePage(“pagename”).

But this give error. I solved this problem as described below..

If you have this in your web.config file

<configuration>
<system.web>
<httpRuntime useFullyQualifiedRedirectUrl=”true” />
</system.web>
</configuration>

Just remove          <httpRuntime useFullyQualifiedRedirectUrl=”true” /> from you web.config file. After removing, You see  all work fine.