CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/3/2006 8:27:05 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 54 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
tonyjay
Asp.Net User
App_Themes in a child application3/3/2006 8:27:05 AM

0/0

Hi folks,

I wonder if anyone out there can help me with this.

I have a content management application that I'm presently recreating with asp.net 2.0 and I'd like to allow my app to be reskinned by developers, but I'm struggling because of the installation method of my application.

Essentially my app is installed into a website by simply mapping the virtual directory /admin within the website to the precompiled cms location on the server (as a virtual directory rather than as a virtual application).

This allows the cms to be updated once for all sites using it, but when it comes to themes and skinning makes life a little difficult as the default theme for the admin interface needs to be defined in ~/admin/App_Themes/ of course ASP.NET insists on the themes being in ~/App_Themes/ (which would be fine for user defined themes). As I can see it this leaves me only two choices, both of which aren't ideal.

1) Physically copy the ~/admin/app_themes/default theme into ~/app_themes/default
I don't like this as it breaks the principle of having a single update point per server and the principle of having the app installed by simply creating a virtual directory.

2) Create a VirtualPathProvider to trap requests to /App/App_Themes/Default and redirect to the admin version
I don't like this as it appears that the virtual path provider must be part of the web site itself - I tried putting a vpp into a DLL and then referencing this in my web site, but it didn't get initialised. As such, if it does have to be part of the site itself then this would mean the developer would have to create the virtualpathprovider code to get my app up and running and this breaks the principle of having the app installed by simply creating a virtual directory.

Can anyone offer any ideas or alternatives ? As I'm very early into this re-write I'm happy to change anything, including the way the application is mapped to a website if necessary...

Cheers,
Tony

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 2.0 E-commerce in C# 2005: From Novice to Professional Authors: Cristian Darie, Karli Watson, Pages: 681, Published: 2005
Professional ASP.NET 2.0 Server Control and Component Development Authors: Shahram Khosravi, Pages: 1186, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008

Web:
How to: Define ASP.NET Page Themes If the App_Themes folder does not already exist, Visual Web Developer creates it . Visual Web Developer then creates a new folder for the theme as a child ...
Embedding APP_Theme resources? - ASP.NET Forums Because the theme folder must either be located under the App_Themes folder below the application's root, or in a global folder. ...
Visual Web Developer Team Blog : Part 2 of 3: Creating shared user ... You can use App_Themes folder in the root project, and refer to the theme in a sub-project. .... I create a sub-directory for the child application. ...
Beginning ASP.NET 2.0 Please note that all content in child pages must be placed inside a ... Start by adding an App_Themes folder to the root of your web project ("Add ASP. ...
CodeProject: Dynamic Themes in ASP.NET 2.0 (C#). Free source code ... Jun 19, 2006 ... You don't need this because the application level default theme will be .... MapPath("App_Themes") will refer to MyWeb/Child/App_Themes. ...
BlogEngine.NET - Discussions Nov 27, 2007 ... The first link is obvious, it has ~/App_Themes in the URL. .... I am just loading in the style.css from the Child master page during ...
Master Pages, Themes and Navigation Controls - ASP.NET Forums App_Themes in a child application by tonyjay. No Status ... WindowsClient: Simple Introduction to Extensible Applications with the Managed Extensions ...
TheMSsForum.com >> Asp >> Equivalent of Application.ProductVersion ... relative App_Themes path I would like this folder structure for 2 web applications: root/app1/Default.aspx root/app1/App_Themes root/app2/Default.aspx ...
VRQ LEVEL ONE COACHING ASSISTANT AWARD APPLICATION FORM LEVEL ONE ... (For candidates U18): I confirm that my child may participate in the Coach ... Payment must accompany this application form. Please make cheque payable to ‘ ...
Adam.Kahtava.com / AdamDotCom - The Problems with Themes, Skins ...




Search This Site:










theme not working off the root

need advice on how to implement menu

sqlsitemapprovider problem

treenode text color

is it possible to apply themes/skins in asp.net 1.0

loading menu items from accessdatasource

new to asp.net, design issue

textbox id from the repeater control inside a master page

navigation objects [not impressed]

treeview in asp.net

css for printng and themes

how to assign data to a datalist in master page from content page ?

forms in master pages

masterpage, javascript, and xhtml : microsoft jscript runtime error: object expected

tab control similar to browser tab

send the required query variables in “post” in a submit page + pages using master pages

menu

using response.redirect causing error

theming titleiconimageurl in iwebpart

using javascript in content page with server controls

customizing paging and making use of postback features

easier way to access an instance?

the name 'profile' does not exist in the current context

how to remove top level menu items

can the imageurl adapt to a theme

how do i display empty nodes?

how remove a selected treeview node??

menu control, statichoverstyle issue with image background

changing content page from page_load of same content page

switching profile themes using css menu and <a href> tags

  Privacy | Contact Us
All Times Are GMT