<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!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></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <telerik:RadMenu ID="rmnuMainMenu" DataSourceID="smdsMenuSource" OnClientItemClicked="OnClientItemClicked"
        Width="100%" runat="server" OnItemDataBound="rmnuMainMenu_ItemDataBound" OnItemClick="rmnuMainMenu_ItemClick" />
    <asp:SiteMapDataSource ID="smdsMenuSource" ShowStartingNode="false" runat="server"/>

    <script type="text/javascript">
        // Close RadMenu after click
        function OnClientItemClicked(sender, eventArgs) {
            sender.close();
        }
</script>

    </form>
</body>
</html>
