ASP.net Theme

Topics: User Forum
Jan 17, 2007 at 4:16 PM
Is there a workaround for the url rewrite when using ASP.net Themes? Access to CSS and such are broken because the page accesses it as ="AppTheme/... which will use the current url rather than from the root as ~/AppTheme/...

Laurie

Coordinator
Feb 27, 2007 at 11:34 PM
can you post the rules you are using?
Apr 11, 2008 at 6:13 AM
Is there is any workaround for this?
Apr 11, 2008 at 7:56 PM
Check out Scott Guthrie's blog post about UrlRewriting. He covers some of these "gotcha's" in the post about incorrect relative paths and such.
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx

Specifically check out the sections "Handling CSS and Image Reference Correctly" under Approach 4