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 > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/19/2007 1:30:53 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 50 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
santiswarupjena
Asp.Net User
Adding Stylesheet to Menu Items at run time4/19/2007 1:30:53 PM

0/0

Hi all,

I'm developing a page in c# and asp.net 2.0 in which I've included a menu control. Stylesheets have been applied to the menu. What I want to implement is to show the user which menu items he clicked to reach at a particular page. All those items should be shown in a different stylesheet class.

For ex:

I got the following menu Management > Partner > Partner List

Now if the user reaches at "Partner List" and clicks it he will be directed to another page in which the same menu is still visible. What needs to be done is that all the items i.e Management > Partner > Partner List have to be shown in a different style. But I dont find any properties of the menuitem object to achieve this. Although I can change the Forecolor and backcolor of the text of the item I cant apply it a stylesheet.

 

Any sort of help or suggestions are appreciated.

 Thanks

santiswarup

 

Zhao Ji Ma - MS
Asp.Net User
Re: Adding Stylesheet to Menu Items at run time4/25/2007 1:58:04 AM

0/0

Hi santiswarup,

The ASP.NET Menut control has a Menu.LevelSubMenuStyles Property. It is the MenuItemStyleCollection object that contains the style settings applying to the submenu items in the static menu based on their level in a Menu control.


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Dreamweaver CS3 Bible: Master Every Aspect of Dreamweaver - Work with CSS, Text, Images, And Links - Incorporate Flash Movies and Other Media Authors: Joseph W. Lowery, Pages: 1112, Published: 2007
FrontPage 2002 Bible Authors: David Elderbrock, David Karlins, Pages: 902, Published: 2001
J2EE and JAX: Developing Web Applications and Web Services Authors: Michael Yawn, Mike Yawn, Pages: 608, Published: 2002
Building Online Communities with Drupal, PhpBB, and WordPress Authors: Robert T. Douglass, Mike Little, Jared W. Smith, Pages: 530, Published: 2006
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Beginning Visual Basic 2005 Databases Authors: Thearon Willis, Pages: 736, Published: 2006
Information and communication technology: compulsory units plus options Authors: Molly Wischhusen, Andrew Scales, Janet Snell, Edexcel Foundation, Pages: 248, Published: 2000
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning Joomla!: From Novice to Professional Authors: Dan Rahmel, Pages: 475, Published: 2007

Web:
Adding Stylesheet to Menu Items at run time
Adding a popup menu to your Sametime links When an offline name is clicked, the menu items that are only applicable to online ... Note that the Sametime Links run-time files are pre-installed on the ...
Example 12: Setting Configuration Properties At Runtime : Menu 2 ... Example 12: Setting Configuration Properties At Runtime : Menu 2 « GUI Components ... ...
Hacking Firefox | O'Reilly Media At runtime, Firefox looks up the list of overlay files, scans then, ... So far, our example has concerned adding a menu item to the Firefox Tools menu, ...
Adding Scripts to the UI If a user of an application selects an item from a menu list, you could get the .... You can call setAttribute in your script to hide the button at runtime. ...
Chapter 3. Embedding a XML editor in an application - Part II/II Run StyledEditor by executing ant run in the samples/stylededitor/ directory. ... This menu is dynamically populated with items at document load time: ...
First eMenuTree menu There are many advanced options: change the style sheet class of any node, automatically insert multiple nodes from your hard disk at build time, run time ...
Developing Web applications with XMenu and SQLC - Hammurapi Group Nov 15, 2006 ... 1.8 Develop actions; 1.9 Develop stylesheets; 1.10 Develop help pages and set help-uri's in the menu.xml; 1.11 Build; 1.12 Deploy. 2 Runtime ...
DHTML Lab: Hierarchical Menus, I; The Item Stylesheet ... Feb 19, 1998 ... To separate items in a menu, we use the CSS border property. ... Microsoft Download: Silverlight 2 Developer Runtime (Windows) ...
Visual Menu User's Guide CSS (Cascading Style Sheet) with Visual Menu Selectors; Runtime Kernel Script .... To illustrate adding more than one menu to the same page, create a menu ...

Videos:
Mac OS Automator: Doing things over and over is over. Google TechTalks June 27, 2006 Sal Soghoian ABSTRACT Mac OS X "Tiger" introduces Automator, a new application that automates anything on ...




Search This Site:










progmatically selecting a treeview treenode...

web controls

custom attributes in treenodes

microsoft.web.ui.webcontrols.dll was not created - ie web control

find the checked treenode in treeview???

how to use the treeview control to change the url of the targeted frame

build tabstrip in runtime

client-side scripting for netscape

unseen microsoft.web.ui.webcontrols.dll

webcontrols.dll does not exist

place webctrl_client on an arbitrary location

ms ie tabstrip control does not render properly

treeview due to ie hang in https

tabstrip: selectedindexchange event does not raise for index=0

is asp.net using the iewc tabstrip?

error when i using tabstrip in usercontrols

problem in using ie web controls

sort tree nodes

strange treeview problem

treeview installation problems

tabstrip - load content on demand

treeview proble binding with xml

problems with checkbox in treeview

site crashing because of error with microsoft.web.ui.webcontrols

html in treeview node?

is there a way of using web controls without having to designate the web site location an application ?

tabstrip and multipage usage

how to make it become a project

treeview font

register iewebcontrols

  Privacy | Contact Us
All Times Are GMT