HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PHerau/toptennisteam.be/wwwroot/DesktopModules/Events/EventEditCategories.ascx
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Events.WebControls" Assembly="DotNetNuke.Events.WebControls" %>
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="EventEditCategories.ascx.vb" Inherits="DotNetNuke.Modules.Events.EventEditCategories" %>
<%@ Register Src="~/controls/LabelControl.ascx" TagName="Label" TagPrefix="dnn" %>
<table id="Table1" cellspacing="0" cellpadding="0" width="100%" border="0">
    <tr valign="top">
        <td nowrap width="50%">
            <table id="Table2" cellspacing="0" cellpadding="2" border="0">
                <tr>
                    <td class="SubHead" valign="top" width="125px">
                        <dnn:Label ID="lblCategoryCap" runat="server" CssClass="SubHead" ResourceKey="plCategory" Text="Category:" />
                    </td>
                    <td class="SubHead" valign="top">
                        <asp:TextBox ID="txtCategoryName" runat="server" CssClass="NormalTextBox"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="SubHead" valign="top">
                        <dnn:Label ID="lblColorCap" runat="server" CssClass="SubHead" ResourceKey="plColor" Text="Color:" />
                    </td>
                    <td class="SubHead" valign="top">
                        <dnn:DNNColorDropDown ID="ddlCategoryColor" runat="server" DisplayColorText="false" DisplaySelectColorItem="True" Palette="WebSafe"
                            SortOption="ByValue" DisplaySelectColorItemText="[None]"></dnn:DNNColorDropDown>
                </tr>
            </table>
            <asp:LinkButton ID="cmdAdd" runat="server" CssClass="CommandButton" resourcekey="cmdAdd">Add</asp:LinkButton>&nbsp;
            <asp:LinkButton ID="cmdUpdate" runat="server" CssClass="CommandButton" resourcekey="cmdUpdate" Visible="false">Update</asp:LinkButton>&nbsp;
            <asp:LinkButton ID="returnButton" resourcekey="returnButton" CssClass="CommandButton" runat="server" BorderStyle="none" CausesValidation="False">Return</asp:LinkButton></td>
        <td width="50%">
            <asp:DataGrid ID="GrdCategories" runat="server" AutoGenerateColumns="False" BorderStyle="Outset" BorderWidth="1px" CssClass="Normal"
                DataKeyField="Category" GridLines="Horizontal" OnDeleteCommand="GrdCategories_DeleteCommand" OnItemCommand="GrdCategories_ItemCommand"
                Width="250px">
                <EditItemStyle VerticalAlign="Bottom" />
                <AlternatingItemStyle BackColor="WhiteSmoke" />
                <ItemStyle VerticalAlign="Top" />
                <HeaderStyle BackColor="Silver" Font-Bold="True" />
                <Columns>
                    <asp:TemplateColumn>
                        <ItemStyle HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:ImageButton ID="DeleteButton" runat="server" AlternateText="Delete" CausesValidation="false" CommandArgument="Delete"
                                CommandName="Delete" ImageUrl="~/images/delete.gif" resourcekey="DeleteButton" />
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="PortalID" Visible="False">
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text="<%# Container.DataItem.PortalID.ToString %>">
                            </asp:Label>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Category" Visible="False">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text="<%# Container.DataItem.Category.ToString %>">
                            </asp:Label>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Category Name">
                        <ItemTemplate>
                            <asp:LinkButton ID="lnkCategoryName" runat="server" BackColor="<%# GetBackGroundColor(Container.DataItem.Color) %>" CommandArgument="Select"
                                CommandName="Select" Text="<%# Container.DataItem.CategoryName %>">
                            </asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                </Columns>
            </asp:DataGrid>
            <asp:Label ID="lblEditMessage" runat="server" CssClass="SubHead" resourcekey="lblEditMessage">(Select Item Link to Edit)</asp:Label>
        </td>
    </tr>
</table>