locked
How to create a Table for Xhtml-browser base phone like nokia?? RRS feed

  • Question

  • User1989204087 posted
    Hi,
    There are filters for WML1.1 and Html3.2 to create table for WML and Html browser respectively.
    by using isWML11 or isHTML Such as :

     <mobile: DeviceSpecific id="d1" Runat="server">
       <Choice Filter ="isHTML" id="f1" runat="server">
             <HeaderTemplate id="h1" runat="server">
                 <Asp:Table id=t1" runat=server">
                           ---say create   1 x 2 table----
                            <asp:TableRow id="r1" runat="server">
    <CHOICE Filter="isHTML32">                            <asp:TableCell  id="c1" runat="server">cell1</asp:TableCell>
                                  <asp:TableCell  id="c2" runat="server">cell2</asp:TableCell>
                            </asp:TableRow>
                 <asp:Table>
           </HeaderTemplate>
    </ChoiceFilter>

    For Xhtml browser, How to I create a table in the MObile Page???? There is no Choice Filter isXHTML...!! What should I do?? is there any way to create table for xhtml browser?

    There are many xhtml browser now than wML-browser for mobile phones......

    Please help.....Would really appreciate your help.

    Thanks.



    <HEADERTEMPLATE></HEADERTEMPLATE></CHOICE>
    Sunday, November 20, 2005 8:26 AM

All replies

  • User664499748 posted
    You can create a device filter which filters devices that support rendering xhtml, use the following

    <filter name="isXHtml" compare="PreferredRenderingType" argument="xhtml-mp" />

    or

    <filter name="isXHtml" compare="PreferredRenderingType" argument="xhtml-basic" />

    HTH,
    Kashif

    Tuesday, November 29, 2005 6:30 PM