[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

Code for mobile external stylesheet in ASP.NET 2.0?

Jamie

12/11/2006 1:37:00 PM

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/MobileQ...(tf3eppnwhlofbp45hv0leiqt)/util/SrcView.aspx?src=Styles/ExternalStyleSheet.src&file=DefinedStyleSheet.ascx

1 Answer

Jamie

12/11/2006 2:35:00 PM

0


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/MobileQ...(tf3eppnwhlofbp45hv0leiqt)/util/SrcView.aspx?src=Styles/ExternalStyleSheet.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.