all groups > asp.net mobile > december 2006 >
You're in the

asp.net mobile

group:

Code for mobile external stylesheet in ASP.NET 2.0?


Code for mobile external stylesheet in ASP.NET 2.0? Jamie
12/11/2006 5:37:24 AM
asp.net mobile: 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/MobileQuickstart/(tf3eppnwhlofbp45hv0leiqt)/util/SrcView.aspx?src=Styles/ExternalStyleSheet.src&file=DefinedStyleSheet.ascx
Re: Code for mobile external stylesheet in ASP.NET 2.0? Jamie
12/11/2006 6:34:44 AM

[quoted text, click to view]

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.
AddThis Social Bookmark Button