PDA

View Full Version : [CLOSED] I wish view this example: http://examples2.ext.net/#/Toolbar/Menu/Horizontal_Menu/



supera
May 07, 2012, 8:44 PM
I wish view this example:

http://examples2.ext.net/#/Toolbar/Menu/Horizontal_Menu/

But I get the error message:

403 - Forbidden: Access is denied.

You do not have permission to view this directory or page using the credentials that you supplied.

Daniil
May 08, 2012, 10:10 AM
Hi,

This example has been removed.

Please see how it can be implemented.

Example

<%@ Page Language="C#" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Horizontal Menu - Ext.NET Example</title>

<style type="text/css">
.horizontal-menu .x-menu-item-link {
line-height: normal;
}
</style>
</head>
<body>
<ext:ResourceManager runat="server" />

<ext:Menu
ID="Menu1"
runat="server"
Floating="false"
Layout="HBoxLayout"
ShowSeparator="false"
Cls="horizontal-menu">
<Defaults>
<ext:Parameter Name="MenuAlign" Value="tl-bl?" Mode="Value" />
</Defaults>
<Items>
<ext:MenuItem runat="server" Text="Item 1" Icon="BulletBlue">
<Menu>
<ext:Menu runat="server">
<Items>
<ext:MenuItem Text="Item 1.1" />
<ext:MenuItem Text="Item 1.2" />
</Items>
</ext:Menu>
</Menu>
</ext:MenuItem>
<ext:MenuItem runat="server" Text="Item 2" Icon="BulletBlue">
<Menu>
<ext:Menu runat="server">
<Items>
<ext:MenuItem Text="Item 2.1" />
<ext:MenuItem Text="Item 2.2" />
</Items>
</ext:Menu>
</Menu>
</ext:MenuItem>
<ext:MenuItem runat="server" Text="Item 3" Icon="BulletBlue">
<Menu>
<ext:Menu runat="server">
<Items>
<ext:MenuItem Text="Item 3.1" />
<ext:MenuItem Text="Item 3.2" />
</Items>
</ext:Menu>
</Menu>
</ext:MenuItem>
<ext:MenuItem runat="server" Text="Item 4" Icon="BulletBlue">
<Menu>
<ext:Menu runat="server">
<Items>
<ext:MenuItem Text="Item 4.1" />
<ext:MenuItem Text="Item 4.2" />
</Items>
</ext:Menu>
</Menu>
</ext:MenuItem>
</Items>
</ext:Menu>
</body>
</html>

supera
May 08, 2012, 11:12 AM
Hi Daniil!

Works fine... thanks a lot.

Daniil
Jun 15, 2012, 9:35 AM
Hi,

The Horizontal Menu example has returned, SVN revision #4102. It will be publicly available with a new release.

Thanks again for the suggestion.

supera
Jun 15, 2012, 11:59 AM
Ok!

Thanks a lot, Daniil!