Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
228
Is there a way to change a menu item style when a page loads?
posted

 On our B2B site, one of the design requirements is that the menu item that corresponds to the active page have a different style applied to it.  The purpose is to give the page sort of a tab feel, without actually using a tab control.

We currently employ the Microsoft menu control, and I use the FindControl() to match the menu id with the page name and set .Selected to true and it applies the "selected" css to the menu item for the active page.

 I'd like to reproduce that behavior, but using the infragistics menu control.

I'm a bit new to using the suite, and I don't see a way to do this.

Using the information found at http://forums.infragistics.com/forums/p/2335/15443.aspx#15443, I can find the menu item corresponding to the active page but how do I set it to a "selected state"?  I'm doing the search for the menu item during the page_load event.

Or do I need to change my approach?