Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
0 Points
5 Posts
Dec 09, 2008 11:21 AM|LINK
Thanks a lot... :)
Plz see that code...
<%
<
</mobile:DeviceSpecific>
I have used like that but still it not working.. I am checking the "isWML11" in Choice Filter. I am using OpenWave Simulator. i have also added the lines in Web.Config.
jmd_maa
0 Points
5 Posts
Re: How to include External css file in Mobile Application.
Dec 09, 2008 11:21 AM|LINK
Thanks a lot... :)
Plz see that code...
<%@ Page Language="C#" AutoEventWireup="true" Inherits="VisitorsMobileContent" Codebehind="VisitorsMobileContent.aspx.cs" %><%
@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %> <html xmlns="http://www.w3.org/1999/xhtml" ><
body> <mobile:Form id="Form1" runat="server"> <mobile:DeviceSpecific Runat="server"> <Choice Filter="isWML11"> <ScriptTemplate> <link rel="stylesheet" href="/Templates/CSS/general_styles.css" type="text/css" /> </ScriptTemplate> </Choice></mobile:DeviceSpecific>
<mobile:Panel ID="Panel1" Runat="server" BreakAfter="True"> <mobile:Image ID="Image1" Runat="server" ImageUrl="../images/Small_flag.JPG" /> <mobile:Image ID="Image2" Runat="server" ImageUrl="../images/SmallBanner_Visitor.JPG" /> <mobile:Label Runat="server" CssClass="citizens_bg" CssLocation="/Templates/CSS/general_styles.css" id="lblcontents" StyleReference="lblVisitors">Content Page</mobile:Label>I have used like that but still it not working.. I am checking the "isWML11" in Choice Filter. I am using OpenWave Simulator.
<filter name="isHTML32" compare="preferredRenderingType" argument="html32"/>i have also added the lines in Web.Config.
<
filter name="isJPhone" compare="Type" argument="J-Phone"/> <filter name="isWML11" compare="PreferredRenderingType" argument="wml11"/><
filter name="isCHTML10" compare="PreferredRenderingType" argument="chtml10"/> <filter name="isGoAmerica" compare="Browser" argument="Go.Web"/><
filter name="isMME" compare="Browser" argument="Microsoft Mobile Explorer"/> <filter name="isMyPalm" compare="Browser" argument="MyPalm"/><
filter name="isPocketIE" compare="Browser" argument="Pocket IE"/> <filter name="isUP3x" compare="Type" argument="Phone.com 3.x Browser"/><
filter name="isUP4x" compare="Type" argument="Phone.com 4.x Browser"/> Thanks again...