Code for mobile external stylesheet in ASP.NET 2.0?

Discussion in 'ASP .Net Mobile' started by Jamie, Dec 11, 2006.

  1. Jamie

    Jamie Guest

    Can anyone provide a working example of the code within an external
    stylesheet for a mobile web application in ASP.NET 2.0? I've looked at
    the MSDN documentation and tried examples found elsewhere, but always
    get errors. Specifically, when I try to build, the stylesheet tag is
    not recognized (mobile:StyleSheet). Any ideas?

    Here's a link to an example that does not work for me:
    http://dotnetjunkies.com/MobileQuic...nalStyleSheet.src&file=DefinedStyleSheet.ascx
     
    Jamie, Dec 11, 2006
    #1
    1. Advertising

  2. Jamie

    Jamie Guest

    Jamie wrote:
    > Can anyone provide a working example of the code within an external
    > stylesheet for a mobile web application in ASP.NET 2.0? I've looked at
    > the MSDN documentation and tried examples found elsewhere, but always
    > get errors. Specifically, when I try to build, the stylesheet tag is
    > not recognized (mobile:StyleSheet). Any ideas?
    >
    > Here's a link to an example that does not work for me:
    > http://dotnetjunkies.com/MobileQuic...nalStyleSheet.src&file=DefinedStyleSheet.ascx


    The solution was to remove and re-add my reference to
    System.Web.Mobile. I don't know why that was necessary. If you do, feel
    free to reply.
     
    Jamie, Dec 11, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=

    Stylesheet referanse i stylesheet

    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=, Jul 3, 2004, in forum: XML
    Replies:
    3
    Views:
    591
    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=
    Jul 4, 2004
  2. Steven An
    Replies:
    1
    Views:
    512
    Martin Honnen
    Nov 23, 2004
  3. David Blickstein
    Replies:
    3
    Views:
    1,055
    David Blickstein
    Aug 2, 2005
  4. David Blickstein
    Replies:
    14
    Views:
    6,383
    Harrie
    Oct 16, 2005
  5. chen selina
    Replies:
    0
    Views:
    1,359
    chen selina
    Jul 13, 2010
Loading...

Share This Page