Convert string to Menu Item

udayshelar

New member
Joined
Nov 2, 2005
Messages
1
Programming Experience
1-3
Hi Friends,
This is Uday. For Security of Project i have stored all menu Names in my DB. Presently I have Made it Manually. But For Dynamic menu binding I have to convert the Menu Name(Taken from the DB) to the Menu Item for checking the user Authentication n authorisation.
Please if anybody knows how to convert the string to Menu Item tell me.
Any Help will be appreciable.

Thanks in Advance.
Regards,
Uday Shelar
 
You create a new menu item by passing the text you want displayed to the constructor. You then add the menu item to the child collection of the menu item you want to be its parent. I can't give you code because you've given no indication of what version you're using and it is different for each. How about specifying your version in your profile so we can all see on every one of your posts.
 
Back
Top