Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9244333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:00:05+00:00 2026-06-18T09:00:05+00:00

I know in ASP.NET MVC you can have mobile views and do things like

  • 0

I know in ASP.NET MVC you can have mobile views and do things like Index.mobile.cshtml and _Layout.mobile.cshtml and the server knows to serve these views/pages to mobile devices rather than Index.cshtml and _Layout.cshtml, but can this also be done in plain ASP.NET websites (not using MVC)?

Note : I am using razor syntax in the plain ASP.NET website.

Thanks in advance.

— Lee

UPDATE :

To clarify, I am aware of the various browser detection methods. My question is specifically about whether mobile views in the form Index.mobile.cshtml are available in plain ASP.NET.

UPDATE (Functionality now included in ASP.NET latest release announced 18th February 2013) :

Talk of the devil.. this is now possible in a recent release..
Scroll down the page to the heading ‘ASP.NET Web Forms Enhancements’

http://weblogs.asp.net/scottgu/archive/2013/02/18/announcing-release-of-asp-net-and-web-tools-2012-2-update.aspx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:00:06+00:00Added an answer on June 18, 2026 at 9:00 am

    So I have come to the conclusion that this is not built in functionality in plain ASP.NET.
    Though there are (IMO less elegant) alternatives.

    Are ASP.NET mobile views only for ASP.NET MVC? Yes.

    Update : This may be possible in latest release

    http://weblogs.asp.net/scottgu/archive/2013/02/18/announcing-release-of-asp-net-and-web-tools-2012-2-update.aspx

    — Lee

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question about complex views in ASP.NET MVC. Where can I find
I have been investigating how My ASP.NET MVC application can log unsuccessful / incomplete
In ASP.NET MVC you can return a redirect ActionResult quite easily: return RedirectToAction("Index"); or
I have written a simple ASP.NET MVC 2 application that stores data and can
I am new to Asp.net MVC and have no idea as to how can
I know that we can use this in razor asp.net mvc 4 @Html.EditorFor(model =>
I have an ASP.Net MVC intranet site which uses Windows Authentication to know who
Yes, I know that in ASP.NET MVC you have to use ViewModels. But I'm
Using web forms I know that you can only have one ASP.NET form on
I would like to know how to set up the routing in asp.net mvc

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.