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

<httpRuntime useFullyQualifiedRedirectUrl=”true” />

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