CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 11/9/2006 10:37:27 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 28 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
mburagohain
Asp.Net User
Dynamic themes11/9/2006 10:37:27 AM

0/0

Hi,

 I want to create a site where the users can create new themes and can apply one from his set of themes.

I design a USER database table where there is a column 'theme' which contains the last applied theme of the user. If the user does not have any theme, the default theme will be applied to the web application.

I also design a theme manager where a user can edit any of his existing themes or can create new one or change the name of an existing theme. I create theme (.skin) file and folder at run time and add it to the App_theme folder of the application.

I store the current theme in a session variable and appled that variable to all pages. And through the theme manager the user can set value to this session variable. But i see that when  I add or delete any file or folder to/ from the App_theme directory of the application, all the values of the seesion variables wiped out.

So my question is, "Is the behaviour of App_Theme folder just like that of the Web.config file, which when edited, restart the application again?"

 

with regards,

Buragohain

 

albertpascual
Asp.Net User
Re: Dynamic themes11/10/2006 2:16:13 AM

0/0

You can have a session called Session["Theme"] and in the Master page on Page_Init() not on Page_Load() you can assign the theme.

Master.Theme or Page.Theme I cannot remember

Works well


Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
priyaforum
Asp.Net User
Re: Dynamic themes10/15/2007 9:58:04 PM

0/0

Hi,

I have the same issue as you reported here. Basically I read the theme of the user from the database.  The user can also create their own themes and apply them. Were you able to successfully write it to app_themes folder and use them in your application? Is it working even the Theme folder is not included in the web project? Please specify

 

regards

Priya

harish448
Asp.Net User
Re: Dynamic themes3/7/2008 9:22:50 AM

0/0

in dynamic theming application why they are using object datasource ?

can u explain me the following code ?

public class ThemeManagar
{
    //public thememanagar()
    //{
    //    //
    //    // TODO: Add constructor logic here
    //    //
    //}

    public static List<Theme> GetThemes()
    {
       
            DirectoryInfo dInfo = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath("App_Themes"));
            DirectoryInfo[] dArrInfo = dInfo.GetDirectories();
            List<Theme> list = new List<Theme>();
            foreach (DirectoryInfo sDirectory in dArrInfo)
            {
                Theme temp = new Theme(sDirectory.Name);
                list.Add(temp);
            }
            return list;
      

      
    }
}

harish448
Asp.Net User
Re: Dynamic themes3/10/2008 4:22:15 AM

0/0

i develouped dynamic themes using sessions ,do u hav any idea replace the session using database ? and can we change back ground colors using skin files?

harish448
Asp.Net User
Re: Dynamic themes3/11/2008 10:11:44 AM

0/0

how to add a varibles to css file and my requirement is add a two drop down list box from that user selects backcolor and color and provide a button and when user press a button css file variable will be changed and apply it to that user

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


Free Download:

Books:
The Full-Day Kindergarten: Planning and Practicing a Dynamic Themes Curriculum Authors: Doris Pronin Fromberg, Pages: 0, Published: 1995
A Soviet Credo: Shostakovich's Fourth Symphony Authors: Pauline Fairclough, Pages: 261, Published: 2006
Early Childhood Education Today Authors: George S. Morrison, Pages: 580, Published: 1998
Classical Form: A Theory of Formal Functions for the Instrumental Music of Haydn, Mozart, and Beethoven Authors: William E. Caplin, Pages: 320, Published: 2000
The Dynamic Character of Christian Culture: Essays on Dawsonian Themes Authors: Peter J. Cataldo, Society for Christian Culture (U.S.), Pages: 242, Published: 1984
Bartók's Chamber Music Authors: János Kárpáti, Fred Macnicol, Maria Steiner, Pages: 508, Published: 1994
The Kalimantan Kenyah: a study of tribal conversion in terms of dynamic cultural themes Authors: William Wallace Conley, Pages: 444, Published: 1976
Television, Imagination, and Aggression: A Study of Preschoolers Authors: Jerome L. Singer, Dorothy G Singer, Pages: 213, Published: 1981

Web:
CodeProject: Dynamic Themes in ASP.NET 2.0 (C#). Free source code ... Jun 19, 2006 ... A step by step guide to create dynamic themes in ASP.NET 2.0.; Author: Sue_NC; Section: ASP.NET; Chapter: Web Development.
Google Homepage introduces dynamic themes - Download Squad Mar 20, 2007 ... That said, you can imagine our surprise today to discover dynamic themes in Google Homepage. There aren't many of them, in fact: pictured ...
New Dynamic Themes for Google Personalized Homepage Mar 20, 2007 ... Your Google Personalized Homepage is the perfect place to track multiple feeds, fun gadgets and widgets all on one page.
Google’s dynamic themes offer stylish web searching with ... Mar 21, 2007 ... Google's dynamic themes offer stylish web searching with impressive visuals Google launched a new feature on your personalized Google ...
Dynamic Themes in ASP.NET 2.0 Aug 21, 2006 ... A good article on CodeProject on using Dynamic Themes in ASP.NET 2.0. ASP.NET 2.0 makes it very easy to give your site a complete makeover ...
Dynamic themes in D6, theming a view | drupal.org Jumping into D6, I'm having some trouble in finding appropriate documentation regarding the dynamic theming functionality. ...
Dynamic Themes in ASP.Net 2.0 « andy brudtkuhl Dynamic Themes in ASP.Net 2.0. July 14, 2006. There are a few good articles out there about changing page themes dynamically in ASP.Net 2.0. ...
Dynamic Theme Creation - symfony users | Google Groups Nov 8, 2008 ... to give dynamic theme creation.I am managing the themes manually using the sfdimensions plugin. Each time when i want to add a new theme.. i ...
Sue's edream | Blog Article | Extending Personal Web Site (6 ... Master page will be a place to start. yes you can use dynamic themes with classic ASP or ASP.NET 1.x. I have done this before but master page definately ...
Dynamic Themes assignment - Rick Strahl's Web Log Jun 27, 2006 ... I'm finishing up some code today for some dynamic skinning of an application and I ran into a funky behavior with themes where changing the ...

Videos:
Dynamic Dudes Theme Worst Wrestling Themes is your home for the very worst in entrance themes and videos. Rated Y2J Forums: http://z11.invisionfree.com/Edgeheads_United...
How to structure a site? Matt Cutts answers Google questions: - Merging acquired domains with 301s? - How to create a site architecture with themes and keywords? - My urls ha...
WCW Theme - Dynamic Dudes 1st WCW Theme - Dynamic Dudes 1st
wcw dynamic dudes 2nd theme(with custom titantron) here's the dynamic dudes 2nd wcw theme wipe out with a custom tron
The Dynamic Duo "Kilogram" Theme Song COMING SOON !!! Saturday May 10th, 2008 @ the NEW DRAGONFLY
Progressive Rock Guitarists 11-24-00 From the Riff Interactive "Guitar Lick of the Day" Each lick comes with a video jam track and interactive notation using advanced new technology. I...
The Dynamic Enneagram - Tom Condon on Fives, Sixes, Sevens In this DVD, Tom offers unique insights into the dynamics of Enneagram styles Five, Six & Seven, detailing their shared childhood themes, emotional h...
Professor Lars Uwe Bleher - Dynamic Environments - A&AA Faculty Lecture Series DYNAMIC ENVIRONMENTS presented by assistant professor Lars Uwe Bleher promises to be immersive, interactive and content-driven. Communicating with sp...
Age Of Conan AOC - Dynamic Combat Music http://BetaLeaks.com Footage from AoC Open Beta. This video shows a lot combat music, including two boss battle themes.
Beat Battle!! Dynamic Producer Conference 2008 Sample Battle Producer Beat Battle!! This is the sample BAttle from the 7th Annual Dynamic Producer Conference 2008. Producers had to flip the Delfonics Theme and ...




Search This Site:










accessing masterpage controls from content

loading a master page and a user control

treeview not visible

what is the current state of persistent treeviews?

error rendering control on all controls in visual studio????

unable to change node title only if i use localization sitemap

expanding individual nodes

new style class with arrays

using dropdowns in master page to display results in detail page gridview

publicly exposed controls on master pages: weird behavior

using multiple sitemap

print only the content and not the other items in the master page?

profile problem : creation of double users with the same name in aspnet_users

scrolling content

a custom page attribute, defined at top level

how to set submenu style

master page, css not affecting page outside of ide

need to access a label control on the master page from a user control attached to a content page

sub menu color in vs2005

theme and masterpage

referencing treeview control on master page

how to rearrange the page in browser

several form tags in one page

its there a way to keep the contentpage footer in the same spot?

integrate blog in mysite

title error render

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

themes

dynamically inserting nodes into sitemap

master pages, content pages title problem

  Privacy | Contact Us
All Times Are GMT