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.

Advertisements

1 Response to “How to redirect to a page in mobile?”


  1. 1 lainey gossip April 23, 2013 at 1:17 am

    Thankfulness to my father who stated to me concerning this web site, this webpage is
    truly remarkable.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Asp.Net Problems and their Solutions


%d bloggers like this: