I'm about to begin creating a mobile version of our company's website, and I have some questions. I've spent many hours reading and researching online, but I can't find some of the answer I need.
1. How can I test a mobile website locally? Are there emulators I can download? Can I plug a phone into my PC and test from the device? I'd like to see how the website looks on the device locally so I can make changes accordingly.
2. With the different screens and resolutions on mobile devices, what is the best width to use for the page layout? Is there a set width of pixels that is a standard to follow, or should it be set at 100%?
3. What is the best way to handle mobile browser detection? So far I've found that I should add code to the Page_Load event of the Master page of our website that checks Request.Browser.IsMobileDevice and redirects to the mobile site if this returns true. Is this the best way?
i have developed a mobile version of a website which using ajax and displays at 100% width via css.this displays and works fine on the HTC phones, i have a few issues below, i have read a few post saying you can preset the phones browser settings do you know how i can fix the problems below?iphone - my css width is 100% the iphone is scaling the site to a very small versionblackberry - ajax is not working
I currently have a ASP.NET web application that was designed for desktops/laptops. Now we need a mobile version of this application. I have never developed mobile application before and am looking for any good tips before i start. Things that i have been thinking about like how do you know when load the mobile version or the normal version.
I'm looking into making some of an asp.net app available from smart phones and iPhone. I'm using Visual Web Dev 2008 and .net 3.5 sp1. Can we use the same forms and controls for the mobile screens?
I want to make a deployment package for my asp.net 3.5 application. Actually i have to send this to my client who would run this application on his intranet. I tried setup n deployment package type project and it created .msi file.while installing this it create all the files which are lying in the project application. But i want to send all the files in complied format only not directly code files.
How could i convert the aspx.cs files into nonreadable complied files..
this is my css for the mobile version I was just wondering how I can change the size of the textboxes for the mobile version to make them smaller but don't change on the computer version? if you go here on the mobile version youll see what I mean URL... the code for the form is inside this class tag.
<section class="left-col"> </secion>
PHP Code:
/*--------MEDIA!!!-----------*/@media screen and (max-width: 478px){ body{ font-size: 13px; }}@media screen and (max-width: 740px){ nav { width: 100%; margin-bottom: 10px; } nav ul{ list-style: none; margin: 0 auto; padding-left: 0px; } nav ul li{ text-align: center; margin-left: 0 auto; width: 100%; border-top: 1px solid #878E63;
i am developing a mobile website ... and the target devices are windows mobile or black berry... following is my form code...
[Code]....
i have uploaded the site to the server .... when i try to access the site... it is showing the 404 error... but working in Windows Mobile simulator with out any error
Usually in an ASP.NET Web Application I would write - My.Application.Info.ProductName or My.Application.Info.Version, but I'm looking at an older ASP.NET Web Site and it doesn't have the Application option.
I would like to truncate my existing website for use with mobile devices specifically the iphone. how might I accomplish this? Are there MS tools or methodolgies for truncating my site without building a new website from scratch?
I have a asp.net (3.5) small website i created and uploaded to our server, which can be viewed on all browsers (firefox, ie, chrome) but every time i try to use my blackberry to view it I get a http 500 internal server error.
I've just completed my first iPhone-compatible & Droid-compatible mobile app. At one time, I was confounded by differences in back button behaviour between the two platforms, but I came up with a suitable workaround.One thing remains that I'd like to correct if it's at all possible. The application is very session-variable dependent, so naturally, its very dependent on sessions. Users invariably use leave pages open when they turn off their smartphones, and this means that they return to a non-repsonsive timed-out page when they turn it back on. Can anything be done to preclude this? As in active web app or no web app?
And i want to make it mobile phone web, such that user can use it through his / her cell phone. I don't have any knowledge about XML And also i don't have knowledge of .NET. How can I do this?
Is there a way to generate offline version of the whole Website?
All my pages are in ASPX and uploaded onto the server. When I run a demo of my site, sometimes there are no Internet availability. So it would be great to actually have the site offline but not running Visual Studio in order to show the site.
I have source-version of project and i need to deploy it on IIS. General project it properly deploy using VS2008, but issue is, if new revision is created then i need to point new source to deploy web-site. In this case i need to remove created virtual dir for previous version. Is this possible to toggle virtual directory between two sources. I think one solution is to change virtual directory path to new one.
I tried to use the asp.net fileupload control for uploading a picture or music file, from blackberry device to server. But, What happened is ; the file is uploaded , ie, the file is created with 0 bytes in it. That is, file is actually not uploaded. Since blackberry browser doesn't support other fileformats, the device contains only .png & .m4a fileformats in its samples. I have used these sample in blackberry for uploading. The same has occured in the case of .m4a files also... Why is it so...? One more thing... The blackberry browser which I am refering here is the blackberry browser simulator, bold 9700.
creating a mobile version of the website I have created in WebMatrix. I have created the website and the email form and the data input forms and all seems to work ok with the SQL Server Compact 4 database, but I now want to create a version to run on my smartphone (it's a htc hd2 running windows mobile 6.5.3, though I think I may have to produce it to run on windows mobile 7 -feel free to comment).
There are some good tutorials out there for WebMatrix generally but I have yet to find anything covering the scenario above.
The other query relates to deploying the WebMatrix site. I know there is webhosting offered on WebMatrix, but I can't find a simple guide to what spec to be looking for in any package offering webhosting. (poor student looking for cheapest offer for trialling practise sites) I think I have come to the conclusion that if they offer Microsoft ASP.NET 4 then that should be ok for the Razor syntax and cope with the cshtml, and that at the basic level I am working at I don't need an SQL database as part of the hosting package as the compact travels as a file with the rest of the site.
Pretend i have an existing web-site, e.g.:[URL]i now want to expose a mobile version of this web-site:
m.stackoverflow.com IIS, with its host-header name resolution, would normally require two web-sites to be created: www.stackoverflow.com m.stackoverflow.com
Except now i have two web-sites in IIS. This means i have to duplicate code/files between them. i don't need to (nor do i want to) duplicate all the "model" and "controller" code between two web-sites. i would much rather have one web-site that exposes a mobile version.
i could have the default page in m.stackoverflow.com simply perform a redirect to a mobile landing page on the "real" web-site:
I have googled this topic and found lots of solutions like
[URL] .... [URL] ....
But still I am confused how to start. I have made some asp.net websites in which i was applying JQuery, Ajax, webservices this technology. Now i want to make that website in a lighter mobile version(windows phone, android phone, tablet, iphone, other mobile device).
I'm having one problem in mobile website using jquery.
i have written a code on button click to redirect using window.location='test.aspx' it doesn't work event my javascript validation is also not worked. how to explain if your in other country give error 406 forbidden access is deny.