ASP .Net Mobile Device Detection

protected void Page_Load(object sender, EventArgs e)
{
if (Request.Browser.IsMobileDevice)
{
Response.Redirect(~/MobilePages/Default.aspx”);
}
}

Tags: ,

Leave a Reply