473,396 Members | 1,799 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,396 software developers and data experts.

using theme's but not for all controls

ton
Hi,

I'm using themes but some labels and button I would like to use a different
theme is this possible?

thanks
ton

Jun 27 '08 #1
5 897
Not different theme, but different skins. Set SkinID property for the labels
to another skin.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"ton" <to*@nospam.nlwrote in message
news:70***************************@cache1.tilbu1.n b.home.nl...
Hi,

I'm using themes but some labels and button I would like to use a
different theme is this possible?

thanks
ton

Jun 27 '08 #2
ton
thank you!

do you also know my other questions ? Like
- getting a vertical scrollbar in a treeview on a website like the msnd site
- and setting the focus on the last character of a text box after an ajax
postback

thanx anyhow
ton
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgschree f in
bericht news:ef**************@TK2MSFTNGP04.phx.gbl...
Not different theme, but different skins. Set SkinID property for the
labels to another skin.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"ton" <to*@nospam.nlwrote in message
news:70***************************@cache1.tilbu1.n b.home.nl...
>Hi,

I'm using themes but some labels and button I would like to use a
different theme is this possible?

thanks
ton

Jun 27 '08 #3
On Apr 16, 10:25 am, "ton" <t...@nospam.nlwrote:
thank you!

do you also know my other questions ? Like
- getting a vertical scrollbar in a treeview on a website like the msnd site
This is just a CSS setting. On the MSDN site, the tree navigation list
is contained within a div that has its overflow set to auto.

http://www.w3schools.com/Css/pr_pos_overflow.asp

" overflow: auto - If the content is clipped, the browser should
display a scroll-bar to see the rest of the content"
Jun 27 '08 #4
Setting focus requires some custom JavaScript, which you can do with AJAX,
but you will have to write it. Mick already has the scrollbar portion solved
for you.

As for your original question, I am in agreement with Eliyahu. Use skins and
then assign the ID. Watch this carefully, however, as you can completely
cluster the application if you are pulling looks from a variety of places.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"ton" <to*@nospam.nlwrote in message
news:e3***************************@cache4.tilbu1.n b.home.nl...
thank you!

do you also know my other questions ? Like
- getting a vertical scrollbar in a treeview on a website like the msnd
site
- and setting the focus on the last character of a text box after an ajax
postback

thanx anyhow
ton
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgschree f in
bericht news:ef**************@TK2MSFTNGP04.phx.gbl...
>Not different theme, but different skins. Set SkinID property for the
labels to another skin.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"ton" <to*@nospam.nlwrote in message
news:70***************************@cache1.tilbu1. nb.home.nl...
>>Hi,

I'm using themes but some labels and button I would like to use a
different theme is this possible?

thanks
ton


Jun 27 '08 #5
ton
thank you all
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMschreef in
bericht news:Oy****************@TK2MSFTNGP06.phx.gbl...
Setting focus requires some custom JavaScript, which you can do with AJAX,
but you will have to write it. Mick already has the scrollbar portion
solved for you.

As for your original question, I am in agreement with Eliyahu. Use skins
and then assign the ID. Watch this carefully, however, as you can
completely cluster the application if you are pulling looks from a variety
of places.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box! |
*************************************************
"ton" <to*@nospam.nlwrote in message
news:e3***************************@cache4.tilbu1.n b.home.nl...
>thank you!

do you also know my other questions ? Like
- getting a vertical scrollbar in a treeview on a website like the msnd
site
- and setting the focus on the last character of a text box after an ajax
postback

thanx anyhow
ton
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgschree f in
bericht news:ef**************@TK2MSFTNGP04.phx.gbl...
>>Not different theme, but different skins. Set SkinID property for the
labels to another skin.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"ton" <to*@nospam.nlwrote in message
news:70***************************@cache1.tilbu1 .nb.home.nl...
Hi,

I'm using themes but some labels and button I would like to use a
different theme is this possible?

thanks
ton


Jun 27 '08 #6

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

Similar topics

0
by: AA | last post by:
Hi All, I want to create a new theme.....with my own choice of font, color etc....and then want to apply this theme to all the controls in VB.NET form. Do I need to write a manifest for this? How...
6
by: Mark Rae | last post by:
Hi, I'm writing a WinForms app in C# and would like to alter the button images on the toolbar depending on whether the user is using the WinXP theme or the Classic theme. Changing the image list...
7
by: Terry Olsen | last post by:
I paste the following code into each project to get XP theme support. 'Add this at the beginning of any program to enable Windows XP Visual Styles <System.STAThread()> Public Shared Sub Main() If...
1
by: kfc1976 | last post by:
Hi All, First of all, following are the facts 1) I've been trying to solve the following issue for the past 8 hours (Not Kidding) 2) If I can't find the answer, It will drive me completely crazy...
0
by: Brant Estes | last post by:
So try this. Create a new ASP.NET 2.0 website. Add a theme. Add a skin to the theme. In your web.config, add the <pages theme="MyTheme" styleSheetTheme="MyTheme" /tag under your system.web...
4
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
Hi; It's there but I don't see anywhere that I actually tell my pages to include default.css from my theme? And how can I add a second css file from my theme to a specific page? -- thanks...
2
by: Wayne | last post by:
Does anybody know why my Office 2003 apps including Access have taken on a blue theme when running under Windows Vista irrespective of which "Window Color and Appearance" I choose in Control Panel?...
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...
3
by: =?Utf-8?B?Q2hhZCBTY2hhcmY=?= | last post by:
I have a 3 page ASP.NET web application that is using an asp:Wizard control on the main page. There is no authentication (completely open) and all processesing is done on this single page. I have a...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.