Home > Net >  ASPxNavBar data binding implementation of submenus
ASPxNavBar data binding implementation of submenus

Time:09-27

ASPxNavBar use background data binding me to realize the secondary menu, but in fact there is a directory of the three, but no display, how the whole?
Code binding way, was not the code in the black box, 2 menu display is normal, I try to look to add submenus, so add the level3 code, not an error, but did not for show, tertiary and secondary display together, look at the corresponding levels, the overall is still the secondary menu,

CodePudding user response:

In the Page_Load method to add the above data binding method, and then instantiate a ASPxNavBar, name is nv3, add it to the interface ASPxNavBar2 (manually add data, test) below, the following code error,
ASPxNavBar2. Groups [0]. Items [0]. The Template. The InstantiateIn (nv3);
Will object reference not set to an instance of an object.

CodePudding user response:

Wood, please help me

CodePudding user response:

So this is no solution??
  • Related