CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/25/2007 2:25:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
terry.burns@bp.
Asp.Net User
Slightly More Questions On Themes / Skins and CSS4/25/2007 2:25:06 PM

0/0

Hi,

I have been looking at Themes and Skins today and now resonably understand
how they work at a ground level. But I have a couple of questions.

1. ) StyleSheetTheme

I dont understand where this would be used. As I understand it the
precidence is like this.

StyleSheetTheme
ControlProperties
Theme

So I am at a bit of a loss as how and where one would use a StyleSheetTheme
over a Theme.


2.)  Design Support for Skins

No Intellisense exists for this, so its a bit like stepping back in time to
a life before intellisense existed for CSS Development, you have to either
Know the properties or do it first on the page and just copy it accross.
This to me is a little archaic. Perhaps someone has a different view ?


3.)  Using CSS with or Vs Themes

What strikes me here is that the properties of a control do not address all
the layout properties of Css. So you cant really get away without doing both
if you are to have full seperation between application and layout. This
makes things rather complex in designing a web site where all these design
abstractions are being used.

I was wondering if there is someone here who has sufficient experience with
using all three to come up with some usefull and hopefully simplistic advice
which can direct a developer on at least how to approach the task without
getting tied up in all sorts of knots.


Many Thanks.




sridhar.a
Asp.Net User
Re: Slightly More Questions On Themes / Skins and CSS4/25/2007 3:56:31 PM

0/0

It is like this..

             1)

              if you set the theme Property to certain theme, then you cannot override the properties which you have set using the skin for 

              the corresponding Theme. say for eg. I have one theme, named "Standard" in which one skin associated with label, in the label skin I

               set backcolor to red.

               Now I take one aspx page set theme = Standard" then them associated with label skin with back ground color appers

               Now if i try to override the backColor propery of the label available in the form and run the page then label appears in red only.

               That means if "you set the Theme property, you cannot override the properties which you set in the corresponding skin.

               and also other properties which are not set in the skin you can modify them."

                               if you set the StyleSheetTheme property you can override the properties which you set in the corresponding skin.

          

 

             

terry.burns@bp.
Asp.Net User
Re: Slightly More Questions On Themes / Skins and CSS4/25/2007 4:22:29 PM

0/0

Thank you for your response.

 I already understand this. My question was really more of  approach. So far no one has managed to reply in terms of a managed approach to using both.

 

 

Adam.Kahtava
Asp.Net User
Re: Slightly More Questions On Themes / Skins and CSS4/25/2007 5:03:10 PM

0/0

1. ) StyleSheetTheme

So I am at a bit of a loss as how and where one would use a StyleSheetTheme over a Theme.

I haven't found StyleSheetThemes useful either, However Themes are quite useful since they provide Skins. Default Skins (I emphasize "Default") are a welcome addition to ASP.NET 2.0 as they allow us to hook CSS Selectors into ASP.NET controls, something that was difficult to do in previous versions of .NET.

2.)  Design Support for Skins

No Intellisense exists for this, so its a bit like stepping back in time to a life before intellisense existed for CSS Development, you have to either Know the properties or do it first on the page and just copy it accross.This to me is a little archaic. Perhaps someone has a different view ?

  • Open up Visual Studio, Select "Tools", Select "Options"
  • Expand "Text Editor", Select "File Extensions", enter extension "Skin", select "User User Control", select "Add"
  • You should now have intellisense.

3.)  Using CSS with or Vs Themes

What strikes me here is that the properties of a control do not address all the layout properties of Css. So you cant really get away without doing both if you are to have full seperation between application and layout. This makes things rather complex in designing a web site where all these design abstractions are being used.


ASP.NET Styling attributes offer a simple interface for developers to make a website look good, these styling attributes are often rendered into undesirable inline CSS. If your web design is done professionaly then you would probably want a CSS based design that uses external StyleSheets. CSS is the industry standard, it's flexible, complex, robust, platform / language independent, and expanding. ASP.NET Styling attributes are most often used by developers who aren't familiar with CSS.


-Adam Kahtava [http://adam.kahtava.com]
terry.burns@bp.
Asp.Net User
Re: Slightly More Questions On Themes / Skins and CSS4/26/2007 9:43:53 AM

0/0

Great answers, thank you.

 I know its not part of this post, but as you seem to know what your talking about do you know if it is possible to set the rendered Form ID for a content page being used with a master page. I have not yet found an  answer to this, normally the default ID is rendered as 'aspnetform' I want to change this for each content page for css clarity.

 

Many Thanks

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
CSS in Mozilla Applications A single, overall theme is made up of many skins. The Navigator component's skin described in navigator.css, for example, is part of the overall Modern ...
Mozilla Update :: Themes -- More Info: Luna Blue - releases @import url("chrome://browser/skin/selectivetext.css"); ... In fact, this Luna is slightly more refined than the native Luna on IE. ...
Magento - Content size and the footer links? - HTML, XHTML, CSS ... Some are in the CMS block then there are the slightly more hardcoded ones. ... / skin/frontend/default/blue/css. Every page on the site uses one of the ...
Getting Started with Custom CSS « WordPress.com Forums This forum is more for CSS issues, since wordpress.com official support ... I am sure that the theme skins are licensed, so I get that part, ...
Pinstripe Theme for Mozilla Pinstripe is a Mozilla theme made to match the look and feel of a native Mac ... and folderpaneextras.css to skin. 6/24/02. More preferences dialog cleanup. ...
Amazon.com: Professional ASP.NET 2.0 Design: CSS, Themes, and ... Creating themes and skins to style your .NET controls (Chapter 8) .... As the only book on the topic, however, it gets a slightly higher nod. ...
Skin Layers — Plone CMS: Open Source Content Management Templates, scripts, images, CSS and JavaScript files are organized with skin layers. Note: in the context of components, "layer" has a slightly different ...
Journalized Winter : Mike Little’s Journalized Last couple of questions, I hope:. I’d like to make the theme keep its size, .... To remove the border, you need to modify skins/winter-skin.css and change ...
katgal.com: Time Sensitive CSS Switcher (Yes! You Can Mar 7, 2007 ... This could probably be reworked slightly to create a new link element node .... (use contact link above), if you have any more questions. ...
CSS Gallery - WordPress Themes - OS Designer been looking to find a way to showcase WordPress themes more easily and when ..... CSS Gallery - WordPress Themes - OS Designer So a slightly wider content ...




Search This Site:










the app_code folder is driving me nuts

could not find stored procedure

label visible false if no data in sql select?

how to call vb dll file is vb.net

useing the arraylist vs sqldatareader

height and width in <asp:image> tag

unable to show the passwordquestion field

inherit new page skins from their parent page

creating test pages in a shared work environment

howto carry value from membership db & role bound dropdownlist

yikes what did i do?

dating site sdk...

can dotnetnuke run on two web servers, an application server and a sql server?

prevent other sites from bandwidth stealing images.

is there a downside to having an .aspx page as the index page?

counting records

redirecting site traffic and download managers

user interfaces

getting random numbers and letters before my default.aspx site

some mild 3.2.1 irritants

asp.net 2.0 beta and dotnetnuke 2.1.2

problem with dnn portal alias

problem sending email

vb service

how can i tell if my vs2005 project is running on iis or the bultin web server of vs2005?

convert mm/dd/yy > dd/mm/yy ?

control collections?

dispose

"new lines" not showing

best reference for creating a mod in vs....

 
All Times Are GMT