Themes & Layout

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Guys,

I'm looking for some advice / guidelines on using Themes with an application
I am working on. The application needs to allow people to customize the
appearance utilizing what I would consider to be a Themeing and Skinning
mechanism. What is critical is that this should be as flexible as possible.

What I would like to do is use the built-in Themeing mechanism to allow the
customization, but as we know, the App_Theme folder cannot contain ASPX or
ASCX files. What I really want is for the Theme to dicatate the layout and
hence have Html code. For example if I have a User Control that looks like
the following:

<table>
<tr><td>#ModuleTitle</td></tr>
<tr><asp:datagrid runat="server" id="someGrid" /></td></tr>
</table>

Now I want a user to be able to customize this eg:

<table>
<tr>
<td><img src="leftCorner.jpg"></td>
<td>#ModuleTitle</td>
<td><img src="rightCorner.jpg"></td>
</tr>
<tr>
<td><img src="leftCorner.jpg"></td>
<td><asp:datagrid runat="server" id="someGrid" /></td>
<td><img src="rightCorner.jpg"></td>
</tr>
</table>

Of course, I can dynamically load a user control which is ideal in this
scenario, but it appears as though I will need to create a second Themes
folder to hold all my UserControls. This makes it confusing for someone to
create a new Theme since they would need to add folders and files to both
the App_Theme folder and my own custom Theme folder.

I do want the user to be able to modify / create '.skin' files which will
allow customization of any controls used.

So what recommendations do people have to work around this flaw?


.



Relevant Pages

  • Re: PHM Plus! 1.3
    ... Troubleshooting Windows XP ... > - Drive Customize (select icons and labels for your drives and removable ... > - Folder Appearance (select a background image, ...
    (microsoft.public.windowsxp.general)
  • Re: PHM Plus! 1.3
    ... Troubleshooting Windows XP ... > - Drive Customize (select icons and labels for your drives and removable ... > - Folder Appearance (select a background image, ...
    (microsoft.public.windowsxp.general)
  • Re: PHM Plus! 1.3
    ... Troubleshooting Windows XP ... > - Drive Customize (select icons and labels for your drives and removable ... > - Folder Appearance (select a background image, ...
    (microsoft.public.windowsxp.customize)
  • Re: PHM Plus! 1.3
    ... Troubleshooting Windows XP ... > - Drive Customize (select icons and labels for your drives and removable ... > - Folder Appearance (select a background image, ...
    (microsoft.public.windowsxp.customize)
  • RE: Picture Tasks
    ... Usually we can customize a folder as per the following article: ... So I don't think we can place the Picture Tasks on the A: ... Microsoft Online Support Engineer ...
    (microsoft.public.windowsxp.help_and_support)