----------
Is there any problem in the code ? Try pasting it in Mobilewebform (.aspx) u c between HeaderTemplate and footertemplate is not fine .. if u place it in asp.net webapplcationform (.aspx) there is no problem why is that so ??
Plz answer me if u have the answer..
<%@dotnet.itags.org.Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="VB"%>
<%@dotnet.itags.org.Register TagPrefix="Mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"%>
<%@dotnet.itags.org.Import Namespace="PosData" %>
<%@dotnet.itags.org.Import Namespace="Category" %>
<%@dotnet.itags.org.Import Namespace="GetCategoryDetails" %>
<%@dotnet.itags.org.Import Namespace="System.Data" %>
<%@dotnet.itags.org. Register TagPrefix="ABC" TagName="connect" src="http://pics.10026.com/?src=..\..\global\connect-strings.ascx" %
<%'-- insert connection string script --%>
<ABC:connect id="ctlConnectStrings" runat="server"/
<mobile:Stylesheet runat="server"
<Style name="styPage">
<DeviceSpecific>
<Choice Filter="IsHTML32">
<HeaderTemplate>
<body bgcolor="#ffffacd" style="font-family:Tahoma, Arial, sans-serif; font-size:10pt">
<font face="Tahoma,Arial,sans-serif" size="2">
</HeaderTemplate>
<FooterTemplate>
<br /><hr /></font>
<font face="Tahoma,Arial,sans-serif" size="1">
<div style="font-family:Tahoma, Arial, sans-serif; font-size:8pt">
©2002 <a </a>MOBILE APPLICATION<br /><a target="_top"
>ASP.NET Distributed Data Applications</a>
<br /><br/>
Student Name : ABC<br>
Student ID # : 555-55-5555<br /></div>
</font></body>
</FooterTemplate>
</Choice>
</DeviceSpecific>
</Style>
</mobile:StylesheetAs I said before, fix your XML.
0 comments:
Post a Comment