Adding to a child Menu element in code
Posted on 2010-09-11
Ive been struggeling with this for a while, and thought Id try experts-exchange.
Ive put a MenuControl on my page, which I have I have a menu Item called 'Accounts', then a child menu item 'Accounts List', which I need to be able to create a list of accounts, with a href.
So for example, add child menu items such as 'Alliance and Leicester' with a hyperlink of showTransactions.aspx?Account=1, then another one such as 'Barcelys' with a hyperlink of showTransactions.aspx?Account=2.
Ive searched google for 'asp.net MenuItem adding elements in code', but havnt found anything.
Any ideas how I can code these elements in code?