Last post Oct 03, 2007 07:31 AM by jimmy q
Sep 27, 2007 07:35 AM|jimmy q|LINK
If the above is possible, how do I go using XHTML in my mobile web forms. I implemented all the relevant XHTML tags but the web form still gets rendered either in HTML or WML based on my source browser.
How can I set up the web application so that all requests will be processed and rendered as XHTML?
Do I have to setup a new device filter so that is always has a rendertype of XHTML?
Do i need to make changes to the web.config?
Below is the markup up my mobile web form using valid XHTML, however when rendered by IE6, all the table tags are stripped so I dont get the table structure
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<title>Table in XHTML MP</title>
<mobile:Form id="Form1" runat="server">
<td rowspan="2">Cell F</td>
<td colspan="2">Cell G</td>
Oct 02, 2007 12:00 PM|GeorgeZ|LINK
Some major WML features lost in XHTML MP: 1. XHTML MP does not support decks and cards 2. XHTML MP does not support timers 3. XHTML MP does not support events 4. XHTML MP does not support variables 5. XHTML MP does not support client-side scripting 6. XHTML
MP does not support programmable softkeys 7. XHTML MP does not support the tag 8. XHTML MP does not support the format attribute for input fields 9. XHTML MP does not support posting of data with anchor links
Oct 03, 2007 07:31 AM|jimmy q|LINK
I am fully aware of the features lost in XHTML-MP/Basic but this is the most widely supported format and would only require me to create the 1 set of forms rather then creating 3+ templates for each type of device not to mention the horrible coding required
with no strongly typed controls available at design time.