Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Tabstrip link stylesheet

Reply
Thread Tools

Tabstrip link stylesheet

 
 
DSISupport
Guest
Posts: n/a
 
      09-19-2005
Hi,
I'm using the IE Webctrols in my ASP.Net apps, and I'm trying to use
stylesheet files CSS to apply formatting.
For instance I want to format the tabStrip webcontrol using the an external
CSS file however I don't see how?
The TabStrip has several attributes to manage the formatting like:
- TabSeletectedStyle
- TabDefaultStyle
- TabHoverStyle
All these accespts just inline CSS but what I wantted is to link these
attribute to an external CSS file and have a css class for each attribute
within that external CSS file.
There is a property called cssClass which is used to manage the style for
the whole tabstrip not for each piece so this doesn't help.
Is there a way to solve this issue?

Thanks.
 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      09-20-2005
Hi DSISupport,

Welcome to ASPNET newsgroup.
As for the style sheet question on ASP.NEt TabStrip IE webcontrol, it is
caused by the implementation of the TablStrip control. Since the tablstrip
control and other IE webcontrols are based on the IE htc components,
they're not rendered as normal HTML element in webbrowser, we can use the
"View Source" in webbrowser to verify this, they're represented by custom
HTC xml element in clientside browser, so it dosn't use the normal CSS
style model to do the UI customization. Currently the only model is to use
the XXStyle collection to specify the style inline. Also, the Menu and
TreeView controls has been upgrated to the buildin Server controls in
ASP.NET 2.0 which expose the common CssClass style properties. For the
Tabstrip IE webcontrol, it is still limited to its current HTC model.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Tabstrip link stylesheet
| thread-index: AcW9V6h8Tb0fuEP0QRWnv4ThY4rIKQ==
| X-WBNR-Posting-Host: 216.89.67.4
| From: "=?Utf-8?B?RFNJU3VwcG9ydA==?=" <>
| Subject: Tabstrip link stylesheet
| Date: Mon, 19 Sep 2005 13:21:03 -0700
| Lines: 17
| Message-ID: <7DE52F05-7370-4A08-BE6A->
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontro ls:10910
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
|
| Hi,
| I'm using the IE Webctrols in my ASP.Net apps, and I'm trying to use
| stylesheet files CSS to apply formatting.
| For instance I want to format the tabStrip webcontrol using the an
external
| CSS file however I don't see how?
| The TabStrip has several attributes to manage the formatting like:
| - TabSeletectedStyle
| - TabDefaultStyle
| - TabHoverStyle
| All these accespts just inline CSS but what I wantted is to link these
| attribute to an external CSS file and have a css class for each attribute
| within that external CSS file.
| There is a property called cssClass which is used to manage the style for
| the whole tabstrip not for each piece so this doesn't help.
| Is there a way to solve this issue?
|
| Thanks.
|

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Firefox and XSLT (local stylesheet works, server-based stylesheet fails) David Blickstein XML 14 10-15-2005 11:27 PM
xml:stylesheet use in document with multiple stylesheet options David Blickstein XML 3 08-02-2005 03:10 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM
have a stylesheet generate another stylesheet based on XML? Steven An XML 1 11-23-2004 01:07 PM
Stylesheet referanse i stylesheet =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?= XML 3 07-04-2004 03:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57