Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / April 2006

Tip: Looking for answers? Try searching our database.

tag <p> inside mobile:form WML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David - 11 Apr 2006 22:25 GMT
Hi all,

I'm using framework 1.1 and Asp.NET Mobile.

When I try to do this:

<mobile:Form id="Form1" runat="server">
<mobile:DeviceSpecific id=DeviceSpecific1 runat="server">
<Choice Filter="isWML11"
Xmlns="http://schemas.microsoft.com/mobile/chtml10template">
<HeaderTemplate><barcode value="12345678" height="64" width="2"
/></HeaderTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:Form>

I get this:

<?xml version='1.0'?>
<!DOCTYPE wml PUBLIC '-//WAPFORUM//DTD WML 1.1//EN'
'http://www.wapforum.org/DTD/wml_1.1.xml'><wml><head>
<meta http-equiv="Cache-Control" content="max-age=0" />
</head>
<card>
<do type="accept"><noop /></do><p><barcode value="12345678" height="64"
width="2" /></p></card>
</wml>

The problem is that my device can't read the tag <barcode> if it is inside a
<p> tag. The page can't have <p> tag in this case.

I've already tried:

- to eliminate the spaces and tabs between the <mobile:*> tags
- to put a <mobile:panel> inside the <mobile:form> and then put
<mobile:DeviceSpecific> inside
- to change the <HeaderTemplate> to <FooterTemplate>

and I had the same problem.

Any help?

Thanks,

David
David - 12 Apr 2006 21:22 GMT
Ok. I gonna change the question.

Can I change the behavior of <mobile:form> or <mobile:page> for a given
(WML-like) device?

Thanks,

David

> Hi all,
>
[quoted text clipped - 41 lines]
>
> David

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.