Tabstrip link stylesheet

D

DSISupport

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.
 
S

Steven Cheng[MSFT]

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==?=" <[email protected]>
| Subject: Tabstrip link stylesheet
| Date: Mon, 19 Sep 2005 13:21:03 -0700
| Lines: 17
| Message-ID: <[email protected]>
| 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.webcontrols
| 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.webcontrols:10910
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
|
| 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.
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top