Answered by:
How to get System.Web.UI.MobileControls

Question
-
User809322603 posted
Hi frinds i want to make mobile website in asp.net 3.5
so how to get the mobile controlls in my project
Ex:
<mob:Form runat="server">
<mob:Label runat="server">Hello</mob:Label>
</mob:Form>how i can get this name space System.Web.UI.MobileControls ?
what i have to download and how ?
Wednesday, November 16, 2011 5:55 AM
Answers
-
User-837620913 posted
ASP.NET Mobile Controls are deprecated - which means you really shouldn't be using them.
From this article, How To: Add Mobile Pages to your ASP.NET Web Forms / MVC Application:
The reason why ASP.NET Mobile Controls have been marked as obsolete is that their design is oriented around the mobile phones that were common around 2005 and earlier. The controls are mainly designed to render WML or cHTML markup (instead of regular HTML) for the WAP browsers of that era. But WAP, WML, and cHTML are no longer relevant for most projects, because HTML has now become the ubiquitous markup language for mobile and desktop browsers alike.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, November 16, 2011 6:11 AM
All replies
-
User-837620913 posted
ASP.NET Mobile Controls are deprecated - which means you really shouldn't be using them.
From this article, How To: Add Mobile Pages to your ASP.NET Web Forms / MVC Application:
The reason why ASP.NET Mobile Controls have been marked as obsolete is that their design is oriented around the mobile phones that were common around 2005 and earlier. The controls are mainly designed to render WML or cHTML markup (instead of regular HTML) for the WAP browsers of that era. But WAP, WML, and cHTML are no longer relevant for most projects, because HTML has now become the ubiquitous markup language for mobile and desktop browsers alike.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, November 16, 2011 6:11 AM -
User1918766559 posted
To work with Mobile Web Controls in Visual Studio 2008 , you need to download seperately Mobile Web Controls & paste in the following folder:
[My Documents]\Visual Studio 2008\Templates\ItemTemplates\Visual Web Developer - If you would like to install the mobile Web Controls Templates in ItemTemplates otherwise put it in Project Template.
Download Mobile Web Controls Templates from here: http://blogs.msdn.com/b/webdevtools/archive/2007/09/17/tip-trick-asp-net-mobile-development-with-visual-studio-2008.aspx
Thanks,
Anindita
Wednesday, November 16, 2011 6:34 AM -
User1943143334 posted
Hi,
General ASP.NET website works absoultely fine in all Mobile browsers. So you can create a general ASP.NET website and add mobile specific META tags for making the website mobile compatible!
<meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width" />
Add the above META to your asp.net website to make Mobile compatible.
For more information on developing Mobile websites in asp.net, check the below links
http://roopeshreddy.wordpress.com/2010/07/25/mobile-development-in-asp-net/
http://roopeshreddy.wordpress.com/2011/03/05/guidelines-for-developing-web-apps-for-apple-iphone/
http://www.asp.net/learn/whitepapers/add-mobile-pages-to-your-aspnet-web-forms-mvc-application
Hope it helps u...
Wednesday, November 16, 2011 9:40 AM