Jump to content

Aspx Class Question

- - - - -

  • Please log in to reply
No replies to this topic

#1
deloreandude

deloreandude

    Newbie

  • Members
  • Pip
  • 8 posts
Hi, Im creating a menu class in vb.net for an aspx website..
So for the menu class is created as an object and you can add menu items with

menuObject.newMenuItem("File")

to add a sub menu you then have to do
menuObject.newSibMenuItem(0,"New") 
where 0 is the index of the menuItem it will come under
My question is, is it possible to code the class so that you could do
menuObject.menuItem("File").add
then
menuObject.menuItem("File").subitem("New")
thanks in advance

Edited by Jaan, 01 August 2009 - 07:06 AM.
Please use code tags when you are posting your codes!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users