<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Support_Utility_Gallery_MView_Category, App_Web_j15k21re" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StockIssueUpdatePanel" runat="server">

        <ContentTemplate>
           
             </style>
            <div id="divContentPage" class="padding-top-header">
                <!-- ContentPlaceHolder Box Starts -->
                <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                    <strong>
                        <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                </div>
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                           <%-- <div class="col-md-3">
                        <section class="content-header" style="margin-bottom: 5px; margin-right: 0px; padding-right: 0px !important; padding-left: 0px;">
                             <div style="padding-right:0;">
                                 <asp:Label runat="server" ID="ScreenNamelabel" Text="" Font-Bold="true" CssClass="screennamelabel"/>
                             </div>
                        </section>
                    </div>--%>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                <!-- Sub Container Box Start -->
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger" id="Div2" runat="server" visible="True">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText fLeft">
                                                <asp:Label ID="Label1" Text="View Category" runat="server" Font-Bold="True" />
                                            </div>
                                        </div>
                                        <div class="fRight" style="margin-top: -4px">
                                            <asp:Button ID="AddCategoryButton" Text="Add Category" runat="server" OnClick="AddCategory_Click" />
                                            <%-- <asp:Button ID="BackButton" Text="Go Back" runat="server" OnClick="BackButton_Click" />--%>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent col-md-12">
                                        <div class="contentHolder">
                                            <div class="himssuHeader1WireBox box-body box-solid">
                                                <div class="himsBoxContent" id="photos">


                                                    <asp:DataList ID="dtlist" runat="server" CssClass="" RepeatLayout="Flow" RepeatDirection="Horizontal"  CellPadding="0" OnItemDataBound="dtlist_OnItemDataBound">

                                                        <ItemTemplate>
                                                            <div style="padding-top:10px" class="gallery5 col-sm-3">
                                                                <asp:Panel ID="Panel1" runat="server" Height="125px" Width="127px" CssClass="panel">
                                                                    
                                                                    <asp:ImageButton Width="120" Height="120" ID="ImageButton1" ImageUrl='<%# Bind("PhotoPath") %>'
                                                                        PostBackUrl='<%# Bind("PhotoPageUrl") %>' runat="server" CssClass="zoomin img-responsive center-block" BorderWidth="0" />
                                                                </asp:Panel>
                                                                 <asp:HyperLink ID="HyperLink1" Text='<%# Bind("CategoryName") %>' NavigateUrl='<%# Bind("CategoryPageUrl") %>'
                                                                    runat="server" />
                                                                <asp:Label ID="PhotoCount" runat="server" Text='<%# Bind("PhotoCount") %>'></asp:Label>
                                                              
                                                            </div>

                                                        </ItemTemplate>


                                                    </asp:DataList>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
