CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 1/6/2004 4:34:37 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 43 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
dotnetworks
Asp.Net User
Tabstrip CSS Text vs CSSClass1/6/2004 4:34:37 PM

0/0

Hello All!

Has anybody out there attempted to modify the TabStrip to take a CSSClass for the various attributes of the tabitems instead of CSSText. ex: tabHoverStyle, tabDefaultStyle, tabSelectedStyle...

Instead creating new CSSText every time I create a tab strip I would like to specify a css class. Naturally, this way if I decide to change a style it is only in the CSS file that I make the change!

I have modified the HTC method f_CreateStyleString() to set the class attribute instead of returning CSSText, (hard-coded for now). When i debug the JS everything looks good, my attibute is set correctly in the <TD> tag but no styles are getting applied. It looks like I cannot set the class here...

-This is problably a reason MS decided not to implement this way! :)

If anyone has any insight(css classes cannot be set in HTCs??) or has tried this before please reply. Thanks!!

Dan
haacked
Asp.Net User
Re: Tabstrip CSS Text vs CSSClass3/10/2004 4:49:54 AM

0/0

I'm having the same problem! Let me know if you find out the answer to this.
Phil Haack (http://haacked.com/)
Senior Program Manager, Microsoft

What wouldn’t you do for a Klondike bar?
haacked
Asp.Net User
Re: Tabstrip CSS Text vs CSSClass3/10/2004 6:02:09 PM

0/0

It looks like this can't be done. What's weird is that I modified the htc file to allow css class definitions and apply them to the TD DOM node for the tab, and the results still don't work.

I used a message box to print out the HTML and the HTML looks fine. In fact, when I copy the HTML it displays into another HTML page and look at the page, it displays the CSS correctly. But when I run the control with the behavior, my css class has no effect. I'm stumped.
Phil Haack (http://haacked.com/)
Senior Program Manager, Microsoft

What wouldn’t you do for a Klondike bar?
Benedict
Asp.Net User
Re: Tabstrip CSS Text vs CSSClass5/18/2005 10:32:57 AM

0/0

I also face same problem?

Whether you have any solution for this problem?

Benedict.

 

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


Free Download:


Web:
Tabstrip in VS 2005 - ASP.NET Forums I used the menu control to create a tab strip that looks exactly like a tab strip - with only CSS. Set the A:Selected property in the CSS to ...
Cssclass is not working in Tabstrip - telerik Forum To the heading of the Tab Strip i have applied custom css. ... CssClass =" TabHeader_deSelected". runat="server" Text="Tab unselected" ...
ComponentArt Forums - Show Post ... type="text/css" />
< ComponentArt:TabStrip id="TabStrip1" CssClass="TopGroup" ...
Nitobi User Forums-View topic - Tabstrip problem Tabstrip CSS classes Tabstrip CSS classes. ... Each of the above properties determines the CSS class to be applied to the tab when it is in the respective mode (normal, ...
CodeProject: ASP.NET Ajax Toolkit TabStrip Control. Free source ... What you can do is to generate custom CSS and attach it to the control like < TabStrip runat="server" ID="TabStrip1" CssClass="pod_tab" ...
CssClass not working? - Karamasoft Support Forums I can't set the background color of my tabstrip using a CSS class. The tabs for some strange reason always render in the default (black/white) colors. ...
How to use MultiView and View Control to perform Tabstrip in ASP ... ... obout inc - ASP.NET EasyMenu - Tutorials - Multiple menus on the ... Second EasyMenu on your page has the css class names prefixed by "TabStrip". < oem:EasyMenu id="TabStrip1" runat="server" ShowEvent="Always" Width="330" ...
ComponentArt Forums - Show Post txtPhone.select(); }