简体   繁体   中英

Asp.net works on mobile device

I asked to get clarify, I have an asp.net site it works great. Site Contains many pages ,what I aim to do, is to make this page works on mobile device. The Real problem it, my page contains many and many controls, So there is messy in the page .

First I want to know, how can I make page on asp.net works on mobile device?
Second ,Is it should to create a new one to get few of controls of the main page , because on the mobile page I need only few of the original .

Update:- my site is responsive But I have a specific page which have a lot of controls and it looks messy in appearing on mobile , So I need to create a new page similar to this page with fewer controls appears only when user use mobile not web browser.

Sorry for bad English, or being not organized.

Browser sniffing is not reliable. You should look to redesigning your site as RWD (Responsive Web Design). Use Nuget to bring in Twitter Bootstrap and start from there.

Here's an example using Web Forms (MVC would be similar):

http://www.mytecbits.com/microsoft/dot-net/bootstrap-3-0-0-with-asp-net-web-forms

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM