<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Administration.Modules.CategoriesControl"
    CodeBehind="Categories.ascx.cs" %>
<div class="section-header">
    <div class="title">
        <img src="Common/ico-catalog.png" alt="Category" />
        Manage Categories
    </div>
    <div class="options">
        <asp:Button runat="server" Text="Save" CssClass="adminButtonBlue" ID="btnSave" ValidationGroup="CategorySettings"
            OnClick="btnSave_Click" ToolTip="Save category settings" />
        <input type="button" onclick="location.href='CategoryAdd.aspx'" value="Add new"
            id="btnAddNew" class="adminButtonBlue" title="Add a new category" />
        <asp:Button runat="server" Text="Export to XML" CssClass="adminButtonBlue" ID="btnExportXML"
            OnClick="btnExportXML_Click" ValidationGroup="ExportXML" ToolTip="Export category list to an xml file" />
    </div>
</div>
<table width="100%">
    <tr>
        <td class="adminTitle">
            Show on the main page:
        </td>
        <td class="adminData">
            <asp:CheckBox runat="server" ID="cbShowCategoriesOnMainPage" Checked="true" />
        </td>
    </tr>
</table>
<p>
</p>
<asp:TreeView ID="CategoryTreeView" runat="server" AutoGenerateDataBindings="False"
    ExpandDepth="0" DataSourceID="ds">
    <DataBindings>
        <asp:TreeNodeBinding TextField="title" NavigateUrlField="url" />
    </DataBindings>
</asp:TreeView>
<asp:XmlDataSource ID="ds" EnableCaching="false" runat="server" XPath="/*/*"></asp:XmlDataSource>
