473,805 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 917
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.nlw rote in message
news:70******** *************** ****@cache1.til bu1.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 #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.orgsch reef in
bericht news:ef******** ******@TK2MSFTN GP04.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.nlw rote in message
news:70******** *************** ****@cache1.til bu1.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 #3
On Apr 16, 10:25 am, "ton" <t...@nospam.nl wrote:
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.nlw rote in message
news:e3******** *************** ****@cache4.til bu1.nb.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.orgsch reef in
bericht news:ef******** ******@TK2MSFTN GP04.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.nlw rote in message
news:70******* *************** *****@cache1.ti lbu1.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.netNoS pamMschreef in
bericht news:Oy******** ********@TK2MSF TNGP06.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.nlw rote in message
news:e3******** *************** ****@cache4.til bu1.nb.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.orgsch reef in
bericht news:ef******** ******@TK2MSFTN GP04.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.nlw rote in message
news:70****** *************** ******@cache1.t ilbu1.nb.home.n l...
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
268
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 can I do that? And..... how do I read from the manifest? I already know how to include Win XPP themes in my app. TIA
6
2883
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 is the easy bit, but does anyone have any code for detecting which theme is currently in use? Any assistance gratefully recevied. Best regards,
7
4310
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 OSFeature.Feature.IsPresent(OSFeature.Themes) Then System.Windows.Forms.Application.EnableVisualStyles() End If Application.DoEvents() 'This must be here, otherwise buttons won't stylize System.Windows.Forms.Application.Run(New Form1) End Sub...
1
2243
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 Platform: XP Pro, .net 2.0 FrameWork, Visual Studio 2005 Problem Regarding:
0
1235
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 node. Now, on a page, drag out any built in control, such as a label. Style/Skin it. The control will take the style of the theme at both runtime and in the designer. Cool! Now, create a custom server control (inherits from WebControl)....
4
5872
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 - dave david_at_windward_dot_net
2
4426
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? It doesn't seem to matter if I'm running Aero or Vista Basic. Access 2000 is not affected and has the bog standard grey toolbars etc. Under XP the blue theme only appeared in Office apps if the blue XP theme was chosen. If another theme...
11
6535
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 page as well as in the web.config. The control looks ok at run time but when viewed in the Visual Studio designer it cannot pick up the current theme.
3
1635
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 master page that has all of the application layout to match our corporate look and feel and a folder called "HBW" under "App_Themes" in the web directory containing 15 style sheets that were copied over from our corporate site. On our local...
0
9718
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10107
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.