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!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 10/3/2006 9:45:12 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 57 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
Goose99
Asp.Net User
CSS MenuAdapter10/3/2006 9:45:12 PM

0/0

I have been using the css menu MenuAdapter and would like to be able to out put custom css class names for each item for example below:-

<ul id="topnav" class="imgnav clearfix">
<li class="link1"><a href="AboutIndus.asp" title="About Indus"><em></em>About Indus</a></li>
<li class="link2"><a href="IndusTalent.asp" title="Indus Talent"><em></em>Indus Talent</a></li>
<li class="link3"><a href="CurrentProductions.asp" title="Current Productions"><em></em>Current Productions</a></li>
<li class="link4"><a href="CurrentProductions.asp" title="Indus Highlights 2006"><em></em>Indus Highlights 2006</a></li>
<li class="link5"><a href="CurrentProductions.asp" title="Contact Details"><em></em>Contact Details</a></li>
</ul>

 Is there a way this can be done does anyone have any suggestions?

 I have edited MenuAdapter.cs to add the <em> tag.  Is there a class any where I can change to make this possible or am I better off just changing MenuAdapter.cs so each class name is incremented at the end?

 Regards Geraint and Thanks

Russ Helfand
Asp.Net User
Re: CSS MenuAdapter10/4/2006 4:55:02 AM

0/0

Try the technique described here: http://forums.asp.net/thread/1312495.aspx.
Russ Helfand
Groovybits.com
Goose99
Asp.Net User
Re: CSS MenuAdapter10/4/2006 11:58:43 AM

0/0

Thanks very much for the help.  It should do the job.

 

You dont know how I would go about adding a tag do you? for example adding a CSS Class tag to each menu item siteMapNode and then calling that ?

Russ Helfand
Asp.Net User
Re: CSS MenuAdapter10/4/2006 3:46:55 PM

0/0

My very best advice is that you make your own version of a site map provider.  After all, you are saying that you want to add some custom information to a typical site map.  That strongly suggests that you want a custom site map provider... which is the title of this article, "Custom Site Map Providers in ASP.NET 2.0" at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/CustSiteMap.asp.

If you get this working, please consider helping others in the community by posting your detailed notes.  This sort of question has come up lots of times before. By tweaking the adapters a little and writing your own custom site map provider you can get some awesome results.  It would be great to have someone (you or someone you know, perhaps) write up an article on that subject.  Just a thought....

 Good luck with the project,


Russ Helfand
Groovybits.com
Goose99
Asp.Net User
Re: CSS MenuAdapter10/16/2006 9:22:59 AM

0/0

Thanks very much for your help.

 

Regards Geraint

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


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Windows Developer Power Tools: Turbocharge Windows Development with More Than 140 Free and Open Source Tools Authors: James Avery, Jim Holmes, Pages: 1263, Published: 2006

Web:
CSS MenuAdapter - ASP.NET Forums I have been using the css menu MenuAdapter and would like to be able to out put custom css class names for each item for example below:- ...
Css MenuAdapter - ASP.NET Forums I removed the dll and added the APP_CODE directory and used the source code for the menuadapter and made no other changes and IE6 menu hover is working. ...
CSS Adapters - Simplified MenuAdapter re: CSS Adapters - Simplified MenuAdapter. Gravatar I didn't like the css menu code too. Lots of code for a small menu. Oyunlar. ...
CSS Friendly Control Adapters - View Issue CSS Friendly Control Adapters ... closed. MenuAdapter registers wrong js file ... Noticed a minor bug in MenuAdapter.RegisterScripts() ...
Chief of the System Blog » ASP.NET and our lovely Safari adapterType=”System.Web.UI.WebControls.Adapters.MenuAdapter” /> ... had that problem before, when I had to update the CSS MenuAdapter. ...
Extreme ASP.NET: Control Adapters For example, the MenuAdapter sample comes with a Menu.css file and a MenuExample .css file; the first file contains core styles you would rarely change and ...
Steps for adding a CSS Control Adapter - Onion Blog - Pluralsight ... MenuAdapter" />. Step 10a: Copy the GridView.css file from the CSS directory in the tutorial into your local site's CSS directory. ...
Useful ASP.NET Hints and Tips: CSS Friendly Control Adapters Next, I keep only the MenuAdapter.vb and the WebControlAdapterExtender.vb files in a folder 'Adapters' under the App_Code folder. For the CSS, the only ...
absolutly new to asp- my first login page - ng.asp-net-forum ... ... ROOT > NEWSGROUP > Adobe-Macromedia ... absolutly new to asp- my first login page. url shows path to upload folder. css menuadapter . ...
CSS Friendly Control Adapters - View Issue Well, the whole point of CSSfriendly is to use CSS features. For the MenuAdapter , this means (disregarding the cripple IE6) enabling pure CSS menus based on ...




Search This Site:










asp.net login control with xml membership provider

working with the oncontinuebuttonclick event of the changepassword control

authorization in asp.net

password format

how password expire automatically

createuserwizard

how dangerous is it to set validaterequest=true?

setting up a virtual directory

session lost

how do i know what account my asp.net 2.0 web site is running under?

use form authetication for many web applications under the same root

whats formsauthentication and windowsauthentication

decryting passwords stored in aspnet_membership table

form level authentication

is it possible to add my own attribute in a custom role provider?

login and session username

authentication on virtual directory

unrecognized tag 'deny' in the config file

how to getallroles

login

object guid of the logged in user

provider

login / logout problems

css files in app_theme folder couldn't be visited

the aspnetdb database

sql provider in web site administration tool

logout event is not working properly

customer membership provider problems : attempt to access the method failed

forms authentication can't protect htm files?

login problem

  Privacy | Contact Us
All Times Are GMT