PDA

View Full Version : Multi level menu



Fahd
Apr 05, 2023, 7:15 PM
I have a menu with multi levels. To achieve that I am using the below code.But, I am getting the error at second level <Menu> Also there is no example in the Ext.Net 7.0.

<ext-section target="Main">


<ext-menuBar>
<items>
<ext-menuItem text="Download" />
<ext-menuItem text="Pricing" />
<ext-menuItem text="Support">
<menu>
<ext-menu>
<items>
<ext-menuItem text="Examples Explorer" />
<ext-menuItem text="Forums" />
<ext-menuItem text="Docs" />
<ext-menuItem text="FAQ" />
<ext-menuItem text="GitHub Issues" />
<menu>
<ext-menu>
<items>
<ext-menuItem text="Examples Explorer1" />
<ext-menuItem text="Forums1" />
<ext-menuItem text="Docs1" />

</items>
</ext-menu>
</menu>
<ext-menuSeparator />
<ext-menuItem text="Legacy WebForms Examples" />
<ext-menuItem text="Legacy MVC Examples" />
<ext-menuSeparator />
<ext-menuItem text="Identity Guidelines" />
<ext-menuItem text="Contact" />
</items>
</ext-menu>
</menu>
</ext-menuItem>
<ext-menuItem text="Blog" />
<ext-menuItem text="Themes" />
</items>
</ext-menuBar>
</ext-section>

fabricio.murta
Apr 06, 2023, 9:18 PM
Hello, @Fahd!

You have the ext-menuItem tag self-closing at line 16.

Hope this helps!