Mobile Web Forms in Visual Studio 2008

UPDATE:  I see a lot of comments which make me feel that this post has been useful.  There have been a lot of queries also around the inability to find the download link.  For the benefit of those, I am posting direct link here Download Mobile Web Form Templates for Visual Studio 2008

Now, for some for information around why it has been missing Visual Studio releases.  According to Omar Khan from the Web Development Tools team, ASP.NET Mobile Webforms are really only useful for last generation ‘WAP’ Devices.  Most modern devices have a full featured web browser and hence the regular ASP.NET Webforms or MVC to build websites that can run on such browsers.

Going further VS 2010 also doesnt feature ASP.NET Mobile Web Template and it will be a separate download similar to VS 2008.

If you have worked with Visual Studio 2008 and tried creating Mobile Web Applications, you would have figured out that the "Mobile Web Form" template is missing.  In the past, in Visual Studio .NET 2003 you had Mobile Web Forms that allow you to create webforms that can be rendered over different types of HTML, WML and XHTML capable devices.

Well, it is not shipped by default in Visual Studio 2008, but Omar Khan from the Web Development Tools Team has put up a few templates that can be downloaded and brings in those Mobile Templates required for creating mobile web applications.

You can download the templates from the Web Development Tools Team Blog Post here  There is a "readme" file attached to each of the extracted Zip folders.  But to make it simpler, once you install and unzip the package, you get a folder "ASP.NET Mobile Templates" and inside that you might find a bunch of folders.

Copy the Zip folders inside each of the "ASP.NET Web Application" Folders into your system's Visual Studio Templates folder.  For instance, there is a folder for "ASP.NET Web Application CS".  You need to copy the contents of this file into

c:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#

Similarly you would copy the contents of the "VB" folder into the Visual Basic folder under "ItemTemplates" above.

Once you copy these and restart Visual Studio 2008, you would be able to get the "Mobile Web Form", "Mobile Web User Control" and "Mobile Web Configuration File" under "My Templates" in "Add New Item" Wizard.

Cheers !!!

posted @ Tuesday, April 01, 2008 5:59 PM

Print

Comments on this entry:

# re: Mobile Web Forms in Visual Studio 2008

Left by Matt at 5/5/2008 11:03 AM
Gravatar
First off, this was really helpful, and got me up and running quickly to develop a mobile web app in .Net. THANK YOU!!

I had a question:

Are there known issues with the mobile controls and browsers on Palm devices? I have a very simple page that does not render on either a Palm Centro or Treo 650, but is fine on a BlackBerry Pearl and several Windows devices.

Thanks for any help!!
Matt

# re: Mobile Web Forms in Visual Studio 2008

Left by jimmy at 5/27/2008 9:55 PM
Gravatar
When i unzip the mail ZIP file which is "ASP.NET Mobile Templates.zip" i got 3 zip files inside which are "Mobile Web Form_vb.zip", "Mobile Web User Control_vb.zip" and "Mobile Web Configuration File_vb.zip".

Do i need to unzip all the zip file and copy to the template folder or any one of those??

# re: Mobile Web Forms in Visual Studio 2008

Left by hosham at 7/23/2008 2:22 AM
Gravatar
i need information about how can i run mobile web forms in emulators

# re: Mobile Web Forms in Visual Studio 2008

Left by Dheeraj Gupta at 7/27/2008 6:34 PM
Gravatar
Hi,
I have Downloaded the Mobile Web Form Templates and successfully installed them. But while creating a Mobile Website Mobile Web Forms Controls are disabled, How these controls can be enabled or used in the Mobile Web form.
Please provide solution ASAP.

Thanks

Regrads
Dheeraj Gupta

# re: Mobile Web Forms in Visual Studio 2008

Left by balu at 8/30/2008 9:22 PM
Gravatar
thanx its working fine

# re: Mobile Web Forms in Visual Studio 2008

Left by Umesh at 10/30/2008 10:06 AM
Gravatar
I am able to download the folders and even after unzipping the _cs files in the
c:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#
I am not able to see the Mobile Form

Please send me the correct procedure.

Umesh

# re: Mobile Web Forms in Visual Studio 2008

Left by Elracorey at 11/12/2008 8:45 PM
Gravatar
Hi,

Out of curiosity, have Microsoft explained why they've removed the mobile templates from 2005 & 2008?

The concept of removing functionality and not replacing it is very strange to me.

Regards.

# re: Mobile Web Forms in Visual Studio 2008

Left by Shodhan Kini at 11/28/2008 11:50 AM
Gravatar
Hi,

I downloaded Mobile web form zip and copied to the corresponding field. New template also added to VS 2008. But i am not able to convert to the design View It is displaying error . ERROR CREATING THE FORM CONTROL .What may be the reason for this.

# re: Mobile Web Forms in Visual Studio 2008

Left by Mehmet Murat Huyut at 12/3/2008 2:03 AM
Gravatar
Thanks too much to link this tool.
I wanted to use Linq on my mobile development but I couldn't make it
I research alot but to use in Linq in 2005 is too hard .
But now I very happy to find this.
I dont stay without any thanks

# re: Mobile Web Forms in Visual Studio 2008

Left by Vc# developer at 12/18/2008 2:32 PM
Gravatar
thnak s a lot.what a pao theses ms products are

# re: Mobile Web Forms in Visual Studio 2008

Left by VB nerd at 12/18/2008 8:38 PM
Gravatar
Hi,
I downloaded the zip file and paste it on the designated locations but the templates did not shown up. Can help please.

# re: Mobile Web Forms in Visual Studio 2008

Left by VC# Student Perplexed at 1/11/2009 9:12 AM
Gravatar
I am running Visual Studio 2008 Professional on Windows Vista Ultimate OS. I encountered the same difficulties when trying to use mobile web forms, and thanks to your link in this thread I was able to download the .zip and unpack the template .zip files, placing them in folders as instructed.

Visual Studio now offers the mobile templates when I add a new form, but when I choose a mobile Web form the Design view still tells me that "Editing of Mobile Controls is not supported in the designer". I have restarted my machine but that does not help; somehow the templates are there but the designer view does not seem to recognize.
Is there a way around this, pls? TIA.

# re: Mobile Web Forms in Visual Studio 2008

Left by Web Developer at 1/13/2009 3:49 AM
Gravatar
This was a piece of cake to set up. Worked first time. Thanks so much for this info and these links.

As indicated, mobile controls do not show up in design mode, but I do all of my coding in Source mode, anyway.

# templates did not shown up in visual web developer 2008 express

Left by Zahid at 1/15/2009 10:41 PM
Gravatar
i have followed the procedure explained in zip file but the templates wont show up in visual web developer 2008 express

can you help or explain why they are not showing up

# Mobile Web Forms in Visual Studio 2008

Left by Ajit Kumar Thakur at 1/19/2009 11:52 AM
Gravatar
I have same problem while adding mobile web form . can't move in design view.
it is giving error Editing of mobile........

# Can't download zip file

Left by Slimleva at 1/28/2009 1:54 PM
Gravatar
Can't download the zip file. The link seems to be broken. Can someone post a new link pls?

# re: Mobile Web Forms in Visual Studio 2008

Left by Prabeesh at 1/28/2009 7:03 PM
Gravatar
I have compied the specified zip files to the :\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates directory, but VS 2008 not loading this. But i have created my own custom template by using export template menu and it is loaded without any issue. Please help

# re: Mobile Web Forms in Visual Studio 2008

Left by Baskar at 1/29/2009 1:32 PM
Gravatar
I am able to download the folders and even after unzipping the _cs files in the
c:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#

I am not able to see the Mobile application or template on opening new web site.Please give solution for this.

# re: Mobile Web Forms in Visual Studio 2008

Left by Vibhash Pandey at 2/2/2009 3:36 PM
Gravatar
Even after putting the zip files at mentioned places i am unable to see mobile web form template in vs2008.

Are there few more instructions to follow after that. Any help ll be appreciated.

Thanks

# re: Mobile Web Forms in Visual Studio 2008

Left by Carmen at 2/2/2009 3:51 PM
Gravatar
The link of template is broken. Can anyone put a new link? Thanks a lot!

# re: Mobile Web Forms in Visual Studio 2008

Left by Vibhash Pandey at 2/2/2009 4:58 PM
Gravatar
Hi all,

As i was new to the asp .net platform i was searching for the template while creating a new project/website choose template window.

But later i found that the newly installed templates are ofcourse there, listed under add new items (CTRL+SHIFT+A) after(please note its after) creating a web/windows application.

I am posting this as this may help many of us like Baskar,Umesh, VB Nerd who are facing similar problem.

# re: Mobile Web Forms in Visual Studio 2008

Left by Shawn Houshmand at 2/2/2009 7:41 PM
Gravatar
Has anyone found a solution for the templates not showing in Visual Studio my Template section. The files are in the right place but the template do not show. Thanks

# re: Mobile Web Forms in Visual Studio 2008

Left by Vibhash Pandey at 2/2/2009 8:21 PM
Gravatar
Hi Shawn,

after putting the files at mentioned location open visual studio. Go to File ->New->Project.

After opening the project either choose the command File->New->New Item if it is there or press CTRL+SHIFT+A. It will open add new item popup. Under section My Templates here you can see the newly installed templates.

Thanks

# re: Mobile Web Forms in Visual Studio 2008

Left by Jenn at 2/5/2009 6:33 PM
Gravatar
Hi guys, the link provided for download is broken. Anyone help?

# re: Mobile Web Forms in Visual Studio 2008

Left by Smitha at 2/6/2009 4:28 AM
Gravatar
I can not download the zip file. Can somebody help? Thanks a lot...

# re: Mobile Web Forms in Visual Studio 2008

Left by Riyad Mammadov at 2/7/2009 1:15 AM
Gravatar
Hi,

I noticed that the link to the attachment on Omar Khan's blog is broken (http://blogs.msdn.com/webdevtools/attachment/4776222.ashx). Do you by any chance have the ZIP file?

Thank you!

# re: Mobile Web Forms in Visual Studio 2008

Left by piv nik at 2/9/2009 8:07 AM
Gravatar
I have noticed the same thing. where is that zip file?

quite frustrating... :(

# Download Mobile Web Forms in Visual Studio 2008

Left by don dre at 2/9/2009 5:51 PM
Gravatar
Please can anyone help me with a link to download any mobile web application set up? for my VS2008

# re: Mobile Web Forms in Visual Studio 2008

Left by Andres at 2/9/2009 9:44 PM
Gravatar
Noticed the same as the other guys.
If anyone can publish that zip file in a public place, I would appreciate that a lot.
Regards,

# re: Mobile Web Forms in Visual Studio 2008

Left by Smitha at 2/10/2009 11:48 PM
Gravatar
Hi, just now I noticed that the link to the attachment on Omar Khan's blog is working. I could download the zip file.

# re: Mobile Web Forms in Visual Studio 2008

Left by Jenn at 2/13/2009 8:31 AM
Gravatar
Not able to see it in designer view :D

# re: Mobile Web Forms in Visual Studio 2008

Left by ZBOO at 2/22/2009 11:18 AM
Gravatar
Thanks you very much for this post!!!

# re: Mobile Web Forms in Visual Studio 2008

Left by Sanjay Ruparel at 2/24/2009 5:52 PM
Gravatar
Thanks a lot for the link. This is exactly what I was looking for. I recently migrated to 2008 and wandering how to create a mobile application.

Thanks Again, Sanjay

# re: Mobile Web Forms in Visual Studio 2008

Left by Jason at 3/6/2009 1:43 AM
Gravatar
Does anyone know - are the mobile forms and controls being phased out? Or will they be supported with some future release?

# re: Mobile Web Forms in Visual Studio 2008

Left by rutger at 3/13/2009 3:26 PM
Gravatar
same question here, you can read from the roadmap (http://www.asp.net/mobile/road-map/) that MS dropped the device specfic updates a while ago....

what's the alternative for mobile web forms?

# re: Mobile Web Forms in Visual Studio 2008

Left by atulsingh at 3/16/2009 3:20 PM
Gravatar
thanx sir ur this suggestion worked well for me.

# re: Mobile Web Forms in Visual Studio 2008

Left by Jeffrey at 4/2/2009 1:32 PM
Gravatar
Hi,I do as the ReadMe.txt.But when I Create a project,I can't see the moblie web application.Anyone can help me?
My IDE is visual studio team system 2008.

# re: Mobile Web Forms in Visual Studio 2008

Left by Rahul at 4/15/2009 10:56 AM
Gravatar
Pls send me some sample code for moblie development.

# re: Mobile Web Forms in Visual Studio 2008

Left by abdlul aziz farooqi at 4/29/2009 12:50 AM
Gravatar
Hi guys i get the solution when templae is not displaying in vs 2008 after puting it in c:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#

Now you can copy paste you rar file and paste to my location given blow
cheer :)

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\CSharp\1033

# re: Mobile Web Forms in Visual Studio 2008

Left by Diego Correa at 5/1/2009 12:32 AM
Gravatar
Still not get the solution, I tested this:

Now you can copy paste you rar file and paste to my location given blow
cheer :)

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\CSharp\1033

but without success :(

# re: Mobile Web Forms in Visual Studio 2008

Left by Richard at 5/12/2009 9:00 AM
Gravatar
Hi guys,

I found where the problem is.
After we copy all the zip files to c:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#, we restart the vs 2008 IDE, we can't find the template!
Then you need to create a web site project, then select to add a new item to this project, then here it is.

# re: Mobile Web Forms in Visual Studio 2008

Left by srinivasa rao at 5/12/2009 4:45 PM
Gravatar
Hi
this doesn't have all controls,i need button,datacontrols.can u explain me how to access database support.

thanks for giving this Template.

# re: Mobile Web Forms in Visual Studio 2008

Left by Suvanna at 5/25/2009 4:47 PM
Gravatar
Hi, guys

I m a new learner about this, do i have to make my own user control for developing mobile web application?
Anyone of you have some code for c# to share me?
I really need it , thank you in advance

Suvanna

# re: Mobile Web Forms in Visual Studio 2008

Left by Diego Correa at 5/26/2009 3:00 AM
Gravatar
Hi guys,

the following is true

"I found where the problem is.
After we copy all the zip files to c:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#, we restart the vs 2008 IDE, we can't find the template!
Then you need to create a web site project, then select to add a new item to this project, then here it is."

Thank you guys

# re: Mobile Web Forms in Visual Studio 2008

Left by Roussel at 6/3/2009 7:10 AM
Gravatar
Buenas noches. Todo Bien pero no puedo ver
VIEW DESIGN ???????????

# re: Mobile Web Forms in Visual Studio 2008

Left by drj at 6/3/2009 5:40 PM
Gravatar
thanks a lot...................
it is really helpful .
As a beginner i was in a great trouble , now hope everything would be fine.

# re: Mobile Web Forms in Visual Studio 2008

Left by Diego Correa at 6/8/2009 10:12 AM
Gravatar
Buenas noches señor! Yo tampoco puedo ver en el view design, sale un mensaje así:
Editing of mobile controls is not supported in the designer o en español es No se admite la edición de controles móviles en el diseñador
Exists any solution for that?

Help me please!

# Editing Mobile Web Formis not supportedin Wed Designer

Left by ramana at 6/12/2009 12:27 AM
Gravatar
i added templates in respective manner but when i am going to create a mobile web for i got an errot
like
"Editing of Mobile Control is Not Supported in the Designer"
plz give the solution

# re: Mobile Web Forms in Visual Studio 2008

Left by Joan at 6/22/2009 10:33 PM
Gravatar
necesitan el emulador

http://www.microsoft.com/downloads/details.aspx?familyid=3D6F581E-C093-4B15-AB0C-A2CE5BFFDB47&displaylang=en

# re: Mobile Web Forms in Visual Studio 2008

Left by Nusret ONEN at 7/24/2009 8:23 AM
Gravatar
Visual Studio ile çalışın ama fazla Cix yapmayın ha:)

# re: Mobile Web Forms in Visual Studio 2008

Left by hanan at 7/29/2009 8:05 AM
Gravatar
can u please send for me how to make new mobile application. i already have the templates but whn i put the form and go to desgin i gt the error"Editing of Mobile Control is Not Supported in the Designer"
"
Thanks for help

# re: Mobile Web Forms in Visual Studio 2008

Left by Pankaj at 8/3/2009 2:04 AM
Gravatar
Hi all

Many ppl are facing problem of templates are not visible after copying it at required location.

Then please check
ItemTemplate location in your VS 2008 ID
Tools > Options > Projects and Solutions > General

and copy above templates to location as per VS ID settings.

Thanks
Pankaj

# re: Mobile Web Forms in Visual Studio 2008

Left by Reddish at 8/20/2009 12:02 PM
Gravatar
"Editing of Mobile Control is Not Supported in the Designer"

Im having this problem as well. Anyone care to point me to the right direction?

# re: Mobile Web Forms in Visual Studio 2008

Left by Portland window cleaning at 9/1/2009 10:29 AM
Gravatar
Great article, thanks.

# re: Mobile Web Forms in Visual Studio 2008

Left by Koen Zomers at 9/10/2009 1:51 AM
Gravatar
I also had problems getting the controls to load in VS2008 Team System Team Suite edition. Please be aware that there are Web Application Project and Website Projects. Both are not the same and require different templates from the ZIP file.

So copy the three ZIPs from:

<downloaded zip>\ASP.NET Mobile Templates\ASP.NET Web Application CS

to:

C:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#

and from:

<downloaded zip>\ASP.NET Mobile Templates\ASP.NET Web Site CS

to:

C:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual Web Developer

Do not unpack these three ZIP files at their target locations. Be sure to restart Visual Studio after placing the files there. Now you can reopen an existing Website Project or Web Application Project or create a new one and press CTRL+SHIFT+A on your keyboard. Now select the Visual C# root node. All the way at the bottom under MyTemplates you should see the three mobile controls listed.

# re: Mobile Web Forms in Visual Studio 2008

Left by John Russell at 9/29/2009 12:33 PM
Gravatar
This is confusing.

Do I copy the zip files OR contents of the zip files into the template folders?

For example:
what do I copy into the following:

C:\Documents and Settings\<username>\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#

Then After I "restart" vs, and File New Website, ASP.Net Web Site , then Website, Add New Item ... what am I looking for?

Am I opening a template project or something else?

thanks

# re: Mobile Web Forms in Visual Studio 2008

Left by enterprise mobility solution at 10/4/2009 9:45 PM
Gravatar
That's great, I never thought about Mobile Web Forms like that before.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345