<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="SelectResourceTypePopup.ascx.cs" Inherits="Zap.BI.Portal.Controls.UserControls.ModalPopups.SelectResourceTypePopup" %>
            
<table runat="server" id="SelectResourceTypePopupContainer" cellspacing="0" cellpadding="0" border="0" style="width: 564px; height:420px; table-layout:fixed;">
    <tr>
        <td valign="top" style="width: 127px;">
            <div class="CategoryTabs" style="text-align: right; vertical-align: top; height: 448px; width: 127px;">
                <asp:ListView runat="server" ID="CategoryTabsListView" ItemPlaceholderID="itemPlaceholder">
                    <LayoutTemplate>
                        <table cellpadding="0" cellspacing="0" style="padding-top: 2px;">
                            <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                        </table>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <div class='CategoryTab CategoryTab_<%# Eval("Value") %>' onclick="$('.CategoryTabActive').removeClass('CategoryTabActive'); $(this).addClass('CategoryTabActive'); $('.ResourceTypeButton').css('display', 'none'); $('.ResourceTypeButton_<%# Eval("Value") %>').css('display', '');" >
                                    <asp:Label runat="server" CssClass="ui-text"><%# Eval("Key") %></asp:Label>
                                </div>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:ListView>
            </div>
        </td>
        <td>
            <div class="ResourceTypeButtons" style="height: 440px; overflow: auto;">
                <asp:ListView runat="server" ID="ResourceTypeListView" ItemPlaceholderID="itemPlaceholder" OnItemDataBound="ListViewItemDataBound" OnItemCommand="ResourceTypeListView_Click">
                    <LayoutTemplate>
                        <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                    </LayoutTemplate>
                    <ItemTemplate>
                        <div class="ResourceTypeButton ResourceTypeButton_<%# Eval("Category") %>" ResourceTypeName="<%# Eval("ResourceTypeName") %>" name="<%# Eval("ResourceTypeName") %>">
                            <asp:ImageButton runat="server" CssClass="ResourceTypeButtonImage" CommandArgument='<%# Eval("ResourceTypeName") %>' ImageUrl='<%# Eval("IconUrl") %>' AlternateText='<%# Eval("LocalizedResourceTypeName") %>' />
                            <span class="ResourceTypeName ui-text"><%# Eval("LocalizedResourceTypeName")%></span>
                        </div>
                    </ItemTemplate>
                </asp:ListView>
            </div>
        </td>
    </tr>
</table>
