473,386 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can we set theme in MasterPage

ad
We can set Theme in a web page.
Could we set theme in MasterPage?
Aug 5 '06 #1
3 1830
"ad" <fl****@wfes.tcc.edu.twwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
We can set Theme in a web page.
Could we set theme in MasterPage?
http://www.google.co.uk/search?hl=en...G=Search&meta=
Aug 5 '06 #2
To set MaterPage, you have to do that in the PreInit Event, PreInit Event
exists on Page Class. MasterPage class is not a Page, it inherits from
UserControl which dosen't have PreInit Event..
So I think the answer is no..
--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications
"ad" wrote:
We can set Theme in a web page.
Could we set theme in MasterPage?
Aug 5 '06 #3
ad wrote:
We can set Theme in a web page.
Could we set theme in MasterPage?
Use this free theme switcher control:
http://www.codeproject.com/useritems/themeswitcher.asp

--

Riki
Aug 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Keith Patrick | last post by:
I'm curious how folks are generally (if at all) centralizing the setting of both MasterPage and Theme of a large group of pages. I have a content viewer app where my initial solution was to just...
1
by: Miguel Dias Moura | last post by:
Hello, I am creating a master page for a web site. All pages created from this master page will use the same theme. However I am not able to add the theme in my master page. Why is that? ...
3
by: Elridge | last post by:
I am planning to migrate our company's site ASP.NET 1.x to 2.0. We would like to use master pages and themes. However, we would like to keep our web project generic so that it can be applied to...
1
by: Joey | last post by:
Hello, I have tried to programmatically set the theme for my master page by putting code in a "Page_PreInit" fuction in the master page's code behind. However, when I set a breakpoint there and...
5
by: Islamegy® | last post by:
In my project i have two master page which i change dynamic in runtime.. The first one with 1 ContentPanel "onepanel.master", the second with 2 contentPanel"twopanel.master".. but when i switch...
1
by: Ron | last post by:
I have an application that requires a login at each visit to the site and can only be accessed by a login. A user can have different themes depending if it was assigned in there profile. Theme...
4
by: cevans | last post by:
Is there a way to load a MasterPage programmatically? Not switch a page's masterpage but to create a MasterPage object that holds a given masterpage. So I know I can do: MasterPage master =...
0
by: William Sullivan | last post by:
I have a content page that is in a subdirectory that is restricted to certain user groups. My website's virtual directory structure looks like this: ~\mywebpage masterpage.master default.aspx...
11
by: greg | last post by:
Hi all, Is there a way to get the current theme name at design time? I'm trying to write a custom control for which I need to use images from the current theme. I have asigned a theme to the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.