Click here to Skip to main content
15,900,616 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
For my asp page I'm adding menu items dynamically by using MenuItem childItem = new MenuItem(); in code behind

When the same time this menu item creating I need to set different border-left colors for the menuitem.

I tried with the childItem.PopOutImageUrl="CssClass" and gave color from the css class.

But as I'm creating this menu dynamically I can't give the exact color for the css class. It changes by menu item to menu item.

Is there anyway to overcome this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900