How can I create a new mobile webform in visual studio 2008 since template not supported anymore?http://forums.asp.net/t/1219222.aspx/1?How+can+I+create+a+new+mobile+webform+in+visual+studio+2008+since+template+not+supported+anymore+Thu, 21 Feb 2008 22:10:19 -050012192222170355http://forums.asp.net/p/1219222/2170355.aspx/1?How+can+I+create+a+new+mobile+webform+in+visual+studio+2008+since+template+not+supported+anymore+How can I create a new mobile webform in visual studio 2008 since template not supported anymore? <p>Hi</p> <p>I created a common web form and added assembly and namespaces&nbsp;in page directive and&nbsp;codebehind, but the &quot;mobile:&quot; prefix is not recognized?</p> <font size="2">&lt;%</font><font color="#0000ff" size="2">@</font><font size="2"> </font> <font color="#a31515" size="2">Page</font><font size="2"> </font><font color="#ff0000" size="2">Language</font><font color="#0000ff" size="2">=&quot;C#&quot;</font><font size="2"> </font><font color="#ff0000" size="2">AutoEventWireup</font><font color="#0000ff" size="2">=&quot;true&quot;</font><font size="2"> </font><font color="#ff0000" size="2">CodeBehind</font><font color="#0000ff" size="2">=&quot;Mobile.aspx.cs&quot;</font><font size="2"> </font><font color="#ff0000" size="2">Inherits</font><font color="#0000ff" size="2">=&quot;X.Mobile&quot;</font><font size="2"> %&gt;</font><font size="2"> <p>&lt;%</font><font color="#0000ff" size="2">@</font><font size="2"> </font><font color="#a31515" size="2">Register</font><font size="2"> </font><font color="#ff0000" size="2">TagPrefix</font><font color="#0000ff" size="2">=&quot;mobile&quot;</font><font size="2"> </font><font color="#ff0000" size="2">Namespace</font><font color="#0000ff" size="2">=&quot;System.Web.UI.MobileControls&quot;</font><font size="2"> </font><font color="#ff0000" size="2">Assembly</font><font color="#0000ff" size="2">=&quot;System.Web.Mobile&quot;</font><font size="2"> %&gt;</p> </font><font color="#0000ff" size="2">&lt;!</font><font color="#a31515" size="2">DOCTYPE</font><font size="2"> </font><font color="#ff0000" size="2">html</font><font size="2"> </font><font color="#ff0000" size="2">PUBLIC</font><font size="2"> </font><font color="#0000ff" size="2">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</font><font size="2"> </font><font color="#0000ff" size="2">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</font><font color="#0000ff" size="2"> <p>&lt;</font><font color="#a31515" size="2">html</font><font size="2"> </font><font color="#ff0000" size="2">xmlns</font><font color="#0000ff" size="2">=&quot;http://www.w3.org/1999/xhtml&quot;</font><font size="2"> </font><font color="#0000ff" size="2">&gt;</p> <p>&lt;</font><font color="#a31515" size="2">head</font><font size="2"> </font><font color="#ff0000" size="2">runat</font><font color="#0000ff" size="2">=&quot;server&quot;&gt;</p> </font><font size="2"></font><font color="#0000ff" size="2">&lt;</font><font color="#a31515" size="2">title</font><font color="#0000ff" size="2">&gt;</font><font size="2">Untitled Page</font><font color="#0000ff" size="2">&lt;/</font><font color="#a31515" size="2">title</font><font color="#0000ff" size="2">&gt;</font><font color="#0000ff" size="2"> <p>&lt;/</font><font color="#a31515" size="2">head</font><font color="#0000ff" size="2">&gt;</p> <p>&lt;</font><font color="#a31515" size="2">body</font><font color="#0000ff" size="2">&gt;</p> </font><font size="2"> <p></font><font color="#0000ff" size="2">&lt;</font><font color="#a31515" size="2">mobile</font><font color="#0000ff" size="2">:</font><font color="#a31515" size="2">Form</font><font size="2"> </font><font color="#ff0000" size="2">ID</font><font color="#0000ff" size="2">=&quot;Form1&quot;</font><font size="2"> </font><font color="#ff0000" size="2">Runat</font><font color="#0000ff" size="2">=&quot;server&quot;&gt;....................here it says: Warning&nbsp;107&nbsp;Unrecognized tag prefix or device filter 'mobile'.&nbsp;C:\X\Mobile.aspx&nbsp;10&nbsp;6&nbsp;X<br> </p> </font><font size="2"> <p>&nbsp;</p> </font><font color="#0000ff" size="2">&lt;/</font><font color="#a31515" size="2">mobile</font><font color="#0000ff" size="2">:</font><font color="#a31515" size="2">Form</font><font color="#0000ff" size="2">&gt;</font><font color="#0000ff" size="2"> <p>&lt;/</font><font color="#a31515" size="2">body</font><font color="#0000ff" size="2">&gt;</p> <p>&lt;/</font><font color="#a31515" size="2">html</font><font color="#0000ff" size="2">&gt;</font></p> <font color="#0000ff" size="2"><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Collections;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Configuration;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Data;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Linq;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.Security;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.UI;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.UI.HtmlControls;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.UI.WebControls;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.UI.WebControls.WebParts;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Xml.Linq;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.Mobile;</font></p> </font><font color="#0000ff" size="2"> <p>using</font><font size="2"><font color="#000000"> System.Web.UI.MobileControls;</font></p> </font><font color="#0000ff" size="2">namespace</font><font size="2"><font color="#000000"> X</font></font></font><font size="2"> <p>{</p> <p></font><font color="#0000ff" size="2">public</font><font size="2"> </font><font color="#0000ff" size="2">partial</font><font size="2"> </font><font color="#0000ff" size="2">class</font><font size="2"> </font><font color="#2b91af" size="2">Mobile</font><font size="2"> : System.Web.UI.MobileControls.</font><font color="#2b91af" size="2">MobilePage</p> </font><font size="2"> <p>{</p> </font><font color="#0000ff" size="2">protected</font><font size="2"> </font><font color="#0000ff" size="2">void</font><font size="2"> Page_Load(</font><font color="#0000ff" size="2">object</font><font size="2"> sender, </font><font color="#2b91af" size="2">EventArgs</font><font size="2"> e)</font><font size="2"> <p>{</p> <p>}</p> <p>}</p> <p>}</p> </font> 2008-02-13T10:55:11-05:002177367http://forums.asp.net/p/1219222/2177367.aspx/1?Re+How+can+I+create+a+new+mobile+webform+in+visual+studio+2008+since+template+not+supported+anymore+Re: How can I create a new mobile webform in visual studio 2008 since template not supported anymore? <p>Take over&nbsp;a mobile web form from Visual Studio 2005.</p> 2008-02-16T08:43:52-05:002177491http://forums.asp.net/p/1219222/2177491.aspx/1?Re+How+can+I+create+a+new+mobile+webform+in+visual+studio+2008+since+template+not+supported+anymore+Re: How can I create a new mobile webform in visual studio 2008 since template not supported anymore? <p>I don't have VS2005</p> 2008-02-16T12:40:59-05:002177592http://forums.asp.net/p/1219222/2177592.aspx/1?Re+How+can+I+create+a+new+mobile+webform+in+visual+studio+2008+since+template+not+supported+anymore+Re: How can I create a new mobile webform in visual studio 2008 since template not supported anymore? <p>Use the <a class="" title="Introduction to ASP.NET Mobile Web Pages" href="http://msdn2.microsoft.com/en-us/library/691xfze5.aspx"> Introduction to ASP.NET Mobile Web Pages</a>&nbsp;as starting point and&nbsp;copy and paste&nbsp;the code of the&nbsp;mobile web form into your page in <em>source view</em>.</p> <p>Drag mobile controls from the Toolbox into the source view because the Mobile Designer is no more available in Visual Studio 2008.</p> 2008-02-16T15:16:58-05:002188592http://forums.asp.net/p/1219222/2188592.aspx/1?Re+How+can+I+create+a+new+mobile+webform+in+visual+studio+2008+since+template+not+supported+anymore+Re: How can I create a new mobile webform in visual studio 2008 since template not supported anymore? <p><a href="http://blogs.msdn.com/webdevtools/archive/2007/09/17/tip-trick-asp-net-mobile-development-with-visual-studio-2008.aspx">http://blogs.msdn.com/webdevtools/archive/2007/09/17/tip-trick-asp-net-mobile-development-with-visual-studio-2008.aspx</a></p> <p>Templates for VS 2008</p> 2008-02-21T22:10:19-05:00