using theme's but not for all controls

Hi,

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

thanks


ton
Ton [ Mi, 16 April 2008 16:02 ] [ ID #1943463 ]

Re: using theme's but not for all controls

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" <ton [at] nospam.nl> wrote in message
news:706e3$480606d7$541eee8e$13014 [at] 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
Eliyahu Goldin [ Mi, 16 April 2008 16:12 ] [ ID #1943465 ]

Re: using theme's but not for all controls

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" <REMOVEALLCAPITALSeEgGoldDinN [at] mMvVpPsS.org> schreef in
bericht news:efZNOw8nIHA.2632 [at] 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" <ton [at] nospam.nl> wrote in message
> news:706e3$480606d7$541eee8e$13014 [at] 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
>
>
Ton [ Mi, 16 April 2008 16:25 ] [ ID #1943467 ]

Re: using theme's but not for all controls

On Apr 16, 10:25 am, "ton" <t... [at] 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"
Mick Wilson [ Mi, 16 April 2008 16:38 ] [ ID #1943470 ]

Re: using theme's but not for all controls

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" <ton [at] nospam.nl> wrote in message
news:e30e5$48060c73$541eee8e$31658 [at] cache4.tilbu1.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" <REMOVEALLCAPITALSeEgGoldDinN [at] mMvVpPsS.org> schreef in
> bericht news:efZNOw8nIHA.2632 [at] 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" <ton [at] nospam.nl> wrote in message
>> news:706e3$480606d7$541eee8e$13014 [at] 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
>>
>>
>
NoSpamMgbworld [ Mi, 16 April 2008 18:22 ] [ ID #1943505 ]

Re: using theme's but not for all controls

thank you all


"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld [at] comcast.netNoSpamM> schreef in
bericht news:Oy1%23W49nIHA.4716 [at] 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" <ton [at] nospam.nl> wrote in message
> news:e30e5$48060c73$541eee8e$31658 [at] cache4.tilbu1.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" <REMOVEALLCAPITALSeEgGoldDinN [at] mMvVpPsS.org> schreef in
>> bericht news:efZNOw8nIHA.2632 [at] 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" <ton [at] nospam.nl> wrote in message
>>> news:706e3$480606d7$541eee8e$13014 [at] 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
>>>
>>>
>>
>
>
Ton [ Mi, 16 April 2008 20:33 ] [ ID #1943520 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » using theme's but not for all controls

Vorheriges Thema: asp.net 2.0 AJAX site deployment
Nächstes Thema: ASP .NET 2.0 Visual Studio 2005 - deploying - no DLLs