Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

using theme's but not for all controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ton - 16 Apr 2008 15:02 GMT
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 - 16 Apr 2008 15:12 GMT
Not different theme, but different skins. Set SkinID property for the labels
to another skin.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hi,
>
[quoted text clipped - 4 lines]
>
> ton
ton - 16 Apr 2008 15:25 GMT
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
> Not different theme, but different skins. Set SkinID property for the
> labels to another skin.
[quoted text clipped - 7 lines]
>>
>> ton
Mick Wilson - 16 Apr 2008 15:38 GMT
> 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"
Cowboy (Gregory A. Beamer) - 16 Apr 2008 17:22 GMT
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.

Signature

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!

*************************************************
> thank you!
>
[quoted text clipped - 18 lines]
>>>
>>> ton
ton - 16 Apr 2008 19:33 GMT
thank you all

> 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
[quoted text clipped - 29 lines]
>>>>
>>>> ton

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.