PC Review


Reply
 
 
=?Utf-8?B?amVmZjMxMTYy?=
Guest
Posts: n/a
 
      1st Jan 2007
Hi all

C# web apps in VS 2003 .net1.1
Is there such thing as a StyleSheet object that I could instantiate and then
load up a CSS and then refer to the various rules, classes of the css?

I want to use a regular css file but be able to load it up and then apply
the rules and classes to individual objects on the page as desired.

Happy New year to all !
Jeff

 
Reply With Quote
 
 
 
 
clintonG
Guest
Posts: n/a
 
      1st Jan 2007
The closest you'll get to your expressed objective is by using 2.0 with a
Theme, or a StyleSheetTheme and Skins as you can declare a SkinId on any
server-side control.


<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h


"jeff31162" <(E-Mail Removed)> wrote in message
news:4DFED809-5C37-42B9-9CBD-(E-Mail Removed)...
> Hi all
>
> C# web apps in VS 2003 .net1.1
> Is there such thing as a StyleSheet object that I could instantiate and
> then
> load up a CSS and then refer to the various rules, classes of the css?
>
> I want to use a regular css file but be able to load it up and then apply
> the rules and classes to individual objects on the page as desired.
>
> Happy New year to all !
> Jeff
>



 
Reply With Quote
 
=?Utf-8?B?amVmZjMxMTYy?=
Guest
Posts: n/a
 
      1st Jan 2007
That sounds exactly what we are trying to do. We are using object naming
conventions to identify objects and then programatically applying style
classes based on object names. For now we have to stick with 1.1.

Am just looking for more compact means of accessing the style sheet.
Thanks for the tip.

Jeff

"clintonG" wrote:

> The closest you'll get to your expressed objective is by using 2.0 with a
> Theme, or a StyleSheetTheme and Skins as you can declare a SkinId on any
> server-side control.
>
>
> <%= Clinton Gallagher
> NET csgallagher AT metromilwaukee.com
> URL http://clintongallagher.metromilwaukee.com/
> MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h
>
>
> "jeff31162" <(E-Mail Removed)> wrote in message
> news:4DFED809-5C37-42B9-9CBD-(E-Mail Removed)...
> > Hi all
> >
> > C# web apps in VS 2003 .net1.1
> > Is there such thing as a StyleSheet object that I could instantiate and
> > then
> > load up a CSS and then refer to the various rules, classes of the css?
> >
> > I want to use a regular css file but be able to load it up and then apply
> > the rules and classes to individual objects on the page as desired.
> >
> > Happy New year to all !
> > Jeff
> >

>
>
>

 
Reply With Quote
 
Lau Lei Cheong
Guest
Posts: n/a
 
      2nd Jan 2007
I'd rather prepare various CSS files for individual themes, then use
javascript's document.styleSheets object(or if you don't need to change the
styles dynamically, use <link> tag) to load the CSS file as needed.

"jeff31162" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:4DFED809-5C37-42B9-9CBD-(E-Mail Removed)...
> Hi all
>
> C# web apps in VS 2003 .net1.1
> Is there such thing as a StyleSheet object that I could instantiate and
> then
> load up a CSS and then refer to the various rules, classes of the css?
>
> I want to use a regular css file but be able to load it up and then apply
> the rules and classes to individual objects on the page as desired.
>
> Happy New year to all !
> Jeff
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy object or export object, can't open object laavista Microsoft Access 5 28th Jun 2009 04:50 AM
Unable to cast COM object of type 'ADODB.RecordsetClass' to classtype 'System.Object[]' matthieu.sarthou@googlemail.com Microsoft VB .NET 20 22nd Feb 2008 04:08 PM
Programmatically detach object in unbound object frame to a bound object frame Haiyan Chen Microsoft Access Form Coding 0 4th Mar 2005 02:51 PM
Programmatically detach object in unbound object frame to a bound object frame Haiyan Chen Microsoft Access Form Coding 0 4th Mar 2005 02:47 PM
Win32_Printer: System.NullReferenceException - Additional information: Object reference not set to an instance of an object. J M Microsoft C# .NET 2 7th Oct 2003 06:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:07 AM.