<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/FiniqAppMasterPage.Master" CodeBehind="PriceProviderSetup.aspx.vb" Inherits="FinIQWebApp.PriceProviderEmailSetup" %>




<%@ Register Src="~/FinIQ_User_Controls/DateControl.ascx" TagName="DateControl" TagPrefix="uc1" %>

<%@ Register Src="~/FinIQ_User_Controls/Smart_Search_Customer_Control/FinIQ_Customer_SmartSearch.ascx" TagName="FinIQ_Customer_SmartSearch" TagPrefix="ucsmart" %>

<asp:Content ID="TrasactionContent" ContentPlaceHolderID="MainContent" runat="server">

    <style>
        .hidecolumn
        {
            display: none;
        }
    </style>
    <asp:UpdatePanel ID="UpdatePanelCP" runat="server">
        <ContentTemplate>

            <asp:HiddenField ID="hdnSetFlag" runat="server" />
            <asp:HiddenField ID="hdnEditFlag" runat="server" />
            <asp:HiddenField ID ="hdnAddFlag" runat="server" />

            <script type="text/javascript">
                var specialKeys = new Array();

                specialKeys.push(8); //Backspace  

                // <Mahima G | 13 Jan 2020 | Changes Done >
                //Jira : UBSSINT- 148
                //Issue : Floating point values not allowed  for priority column.
                //Solution : javascript changed accordingly.
                function numericOnly(elementRef) {

                    var keyCodeEntered = (event.which) ? event.which : (window.event.keyCode) ? window.event.keyCode : -1;

                    if ((keyCodeEntered >= 48) && (keyCodeEntered <= 57)) {

                        return true;

                    }


                    return false;

                }

                // </Mahima G | 13 Jan 2020 | Changes Done | Jira No, : >


                function DisableRightClick(event) {
                    //For mouse right click
                    if (event.button == 2) {
                        alert("Right Clicking not allowed!");
                    }
                }

                function AllowNumericOnly(e) {
                    var keycode;
                    if (window.event)
                        keycode = window.event.keyCode;
                    else if (event)
                        keycode = event.keyCode;
                    else if (e)
                        keycode = e.which;
                    else return true;
                    if ((keycode > 47 && keycode <= 57)) { return true; }
                    else { return false; } return true;
                }




                //function AllowNumericOnly() {
                //    var key;
                //    try {
                //        key = window.event.keyCode;

                //        if (key > 47 && key < 58)
                //            return;
                //        else
                //            window.event.returnValue = null;

                //    }
                //    catch (error) {

                //    }
                //    finally {
                //        key = "";
                //    }
                //}

                function DisableCtrlKey(e) {
                    var code = (document.all) ? event.keyCode : e.which;
                    var message = "Ctrl key functionality is disabled!";
                    // look for CTRL key press
                    if (parseInt(code) == 17) {
                        alert(message);
                        window.event.returnValue = false;
                    }
                }
            </script>
            <table>
                <tr>
                    <td>
                        <%--  <fieldset runat="server" id="grpDetails" class="filter">--%>
                        <table>

                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblError" runat="server" CssClass="lblerror"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblInfo" runat="server" CssClass="lblInfo"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table>

                                        <tr>
                                            <%--Commeneted by Aayushi G on 26-Jul-2018--%>
                                            <%--<td class="lblBlotterPaddingRight ">
                                                <asp:Label ID="lblEntity" runat="server" CssClass="lbl" Text="Entity"></asp:Label>
                                            </td>

                                            <td class=" ctlBlotterPaddingRight">
                                                <asp:DropDownList ID="ddlEntity" runat="server" CssClass="ddl " Width="130px" AutoPostBack="true"></asp:DropDownList>
                                            </td>--%>




                                            <%--<td id="tdbtnAdd" runat="server">
                                                <asp:Button ID="btnAdd" runat="server" CssClass="btn" Text="Add" Width="98px" />
                                            </td>--%>
                                           <td id="tdbtnLoad" runat="server" style="padding-left:5px">
                                                <asp:Button ID="btnLoad"  runat="server" CssClass="btn" Text="Load" Width="98px" />
                                            </td>

<%--                                            <td id="tdbtnSave" runat="server">
                                                <asp:Button ID="btnSave" runat="server" CssClass="btn" Text="Save" Width="98px" />
                                            </td>--%>

                                            

                                            <%--<td id="tdbtnActivate" runat="server">
                                                <asp:Button ID="btnActivate" runat="server" CssClass="btn" Text="Activate" Width="98px" OnClientClick="return confirm('Are you sure you want to Activate the record(s)?');" />
                                            </td>
                                            <td id="tdbtnDeactivate" runat="server" class="lblBlotterPaddingRight ctlBlotterPaddingRight">
                                                <asp:Button ID="btnDeactivate" runat="server" CssClass="btn" Text="Deactivate" Width="98px" OnClientClick="return confirm('Are you sure you want to Deactivate the record(s)?');" />
                                            </td>--%>

                                            <%--<td id="tdbtnload" runat ="server" >
                                                <asp:Button ID="btnload" runat="server" CssClass="btn sep" Text="Load"  Width="98px" Visible="true" />
                                            </td>--%>

                                            
<%--                                            <td id="tdbtnDelete" runat ="server" >
                                                <asp:Button ID="bt
                                                    nDelete" runat="server" CssClass="btn sep"  Text="Delete"  Width="98px"  Visible="false"  />
                                            </td>--%>
                                            <%--<td class=" ctlBlotterPaddingRight">
                                                <asp:DropDownList ID="ddlActiveYN" runat="server" CssClass="ddl" Width="130px" AutoPostBack="true">
                                                    <asp:ListItem Value="0" Text="All" runat="server"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="Active" runat="server"> </asp:ListItem>
                                                <asp:ListItem Value="2" Text="Inactive" runat="server"> </asp:ListItem>
                                                    
                                            </asp:DropDownList>
                                            </td>--%>
                                            <td class="lblBlotterPaddingRight" style="padding-left:8px">
                                                <asp:Label ID="lblRecordsperpage" runat="server" Text="Row(s) Per Page : " CssClass="lbl"></asp:Label>
                                            </td>
                                            <td class=" ctlBlotterPaddingRight">
                                                <asp:TextBox ID="txtRowperpage" runat="server" CssClass="txt" Width="30px" MaxLength="2" AutoPostBack="true" OnTextChanged="txtRowperpage_TextChanged" onkeypress="return numericOnly(this);">
                                                
                                                </asp:TextBox>

                                            </td>
                                            <td class="lblBlotterPaddingRight ">
                                                <asp:Label ID="Label11" CssClass="lbl" runat="server">Total Record(s)</asp:Label>
                                            </td>
                                            <td class=" ctlBlotterPaddingRight">
                                                <asp:Label ID="lbltotalcount" CssClass="lbl" runat="server" Style="margin-left: 5px"></asp:Label></td>

                                        </tr>

                                    </table>

                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top: 10px;">
                            <asp:GridView ID="gvPriceProvider" runat="server" ShowHeaderWhenEmpty="true" AllowPaging="true" AllowSorting="True" AutoGenerateColumns="False" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" CssClass="GridItem" PageSize="99" Style= "margin-left: 8px; margin-top: 15px" >
                                <SelectedRowStyle CssClass="GridItemSelect" />
                                <RowStyle CssClass="GridItem" />
                                <HeaderStyle CssClass="GridHeader" />
                                <FooterStyle CssClass="GridFooter" />
                                <PagerStyle CssClass="GridPager" />
                                <PagerSettings FirstPageText="First" LastPageText="Last" Mode="NumericFirstLast" Position="Bottom" />
                                <EmptyDataTemplate>
                                    <asp:Label ID="lblqueuedatagrid" runat="server" CssClass="lbl" Text="No data found."></asp:Label>
                                </EmptyDataTemplate>
                                <Columns>
                                    <%--<asp:TemplateField>
                                         <ItemStyle HorizontalAlign="center" VerticalAlign="Middle" Width="40px" />
                                        <HeaderTemplate>
                                            <asp:CheckBox ID="chkSelectAll" runat="server"  AutoPostBack="true" BorderStyle="None"  CssClass="chkselectall" />
                                        </HeaderTemplate>
                                        
                                        <ItemTemplate>

                                            <asp:CheckBox ID="chkSelect" runat="server" AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged" CssClass="chkselectall1" Width="20px" />
                                        </ItemTemplate>
                                    </asp:TemplateField>--%>


                                           
                                           <asp:TemplateField HeaderText="Actions" HeaderStyle-Wrap="True" Visible="true" >
                                                    <ItemStyle HorizontalAlign="center" Width="100px"/>
                                                    <HeaderStyle Width="120px" HorizontalAlign="center"/>
                                                    <EditItemTemplate>
                                                        <asp:LinkButton ID="btnUpdateNew" runat="server" CommandName="Update" Text="Update" HorizontalAlign="left" CssClass="display: inline-block;" />
                                                        
                                                <asp:LinkButton ID="btnCancelNew" runat="server" CommandName="Cancel" Text="Cancel" HorizontalAlign="right" CssClass="display: inline-block;" />
                                                    </EditItemTemplate>
                                                    <ItemTemplate >
                                                        <asp:LinkButton ID="btnEditNew" Width="100px" HorizontalAlign="center" runat="server" CommandName="Edit" Text="Edit" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                  

                                    <asp:TemplateField HeaderText="PP ID" Visible="false">
                                        <HeaderStyle HorizontalAlign="center" VerticalAlign="Middle" Width="50px" Wrap="true" />
                                        <ItemStyle HorizontalAlign="right" VerticalAlign="Middle" Width="40px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblPPID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_ID")%>'>
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Code" Visible="true">
                                        <HeaderStyle Width="100px" Wrap="true" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="left" VerticalAlign="Middle" Width ="100px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblCode" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_CODE")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtCode" runat="server" MaxLength="20" Width="100px" Enabled =" False"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_CODE").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Name" Visible="true">
                                        <HeaderStyle Wrap="true" Width="100px" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="left" Width="100px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_Name")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtname" runat="server" MaxLength="20" Width="100px" Enabled =" False"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Name").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>


                                    <asp:TemplateField HeaderText="Type" Visible="false">
                                        <HeaderStyle Wrap="true" Width="120px" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="left" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblType" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_Type")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:Label ID="hdnLblType" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Type").ToString)%>' Visible="false" />
                                            <asp:DropDownList ID="ddlType" runat="server" MaxLength="8" Width="119px">
                                                <asp:ListItem Value="EXTERNAL" Text="EXTERNAL" runat="server"></asp:ListItem>
                                                <asp:ListItem Value="INTERNAL" Text="INTERNAL" runat="server"></asp:ListItem>
                                            </asp:DropDownList>
                                        </EditItemTemplate>
                                    </asp:TemplateField>



                                    <asp:TemplateField HeaderText="Priority" Visible="true">
                                        <HeaderStyle HorizontalAlign="center" VerticalAlign="Middle" Width="40px" Wrap="true" />
                                        <ItemStyle HorizontalAlign="right" VerticalAlign="Middle" Width="40px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblPriority" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_Priority")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtPriority" runat="server" onkeypress="return numericOnly(this);" MaxLength="3" Width="40px"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Priority").ToString)%>'></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Email From" Visible="true" >
                                        <HeaderStyle Wrap="False" HorizontalAlign="center" Width ="300px" />
                                        <ItemStyle HorizontalAlign="left" Width ="300px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblEmailIDFrom" runat="server"  Text='<%# DataBinder.Eval(Container.DataItem, "PP_Email_From")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtEmailFrom" runat="server" Width ="200px" TextMode="Multiline"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Email_From").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Email To" Visible="true" >
                                        <HeaderStyle Wrap="False" HorizontalAlign="center" Width ="300px" />
                                        <ItemStyle HorizontalAlign="left" Width ="300px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblEmailTo" runat="server"  Text='<%# DataBinder.Eval(Container.DataItem, "PP_Email_To")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtEmailTo" runat="server" Width ="200px" TextMode="Multiline" 
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Email_To").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Email Cc" Visible="true" >
                                        <HeaderStyle Wrap="False" HorizontalAlign="center" Width ="300px" />
                                        <ItemStyle HorizontalAlign="left" Width ="300px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblEmailCC" runat="server"  Text='<%# DataBinder.Eval(Container.DataItem, "PP_Email_CC")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtEmailCC" runat="server" Width ="200px" TextMode="Multiline"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Email_CC").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Email Bcc" Visible="true" >
                                        <HeaderStyle Wrap="False" HorizontalAlign="center" Width ="300px" />
                                        <ItemStyle HorizontalAlign="left" Width ="300px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblEmailBCC" runat="server"  Text='<%# DataBinder.Eval(Container.DataItem, "PP_Email_Bcc")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtEmailBCC" runat="server" Width ="200px" TextMode="Multiline"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_Email_Bcc").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>



                                    <asp:TemplateField HeaderText="Best Price YN" Visible="false">
                                        <HeaderStyle HorizontalAlign="center" VerticalAlign="Middle" Width="110px" Wrap="true" />
                                        <ItemStyle HorizontalAlign="center" VerticalAlign="Middle" Width="40px" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblBestPrice_YN" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_ConsiderForBestPriceYN")%>'></asp:Label>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:Label ID="hdnLblBestPrice" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_ConsiderForBestPriceYN").ToString)%>' Visible="false" />
                                            <asp:DropDownList ID="ddlBestPrice_YN" runat="server">
                                                <asp:ListItem Value="Y" Text="Y" runat="server"></asp:ListItem>
                                                <asp:ListItem Value="N" Text="N" runat="server"></asp:ListItem>
                                            </asp:DropDownList>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="External Code" Visible="false">
                                        <HeaderStyle Wrap="true" Width="110px" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="left" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblExternalCode" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Code")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtExternalCode" runat="server" Visible="true" MaxLength="20" Width="109px"
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Code").ToString)%>' ></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Response Method" Visible="false">
                                        <HeaderStyle Wrap="true" Width="110px" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="center" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblResponseMethod" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ResponseMethod")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:Label ID="hdnLblResponseMethod" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.ResponseMethod").ToString)%>' Visible="false" />
                                            <asp:DropDownList ID="ddlResponseMethod" runat="server" MaxLength="8">
                                                <asp:ListItem Value="RFQ" Text="RFQ" runat="server"></asp:ListItem>
                                                <asp:ListItem Value="RFS" Text="RFS" runat="server"></asp:ListItem>
                                            </asp:DropDownList>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                   <%-- <asp:TemplateField HeaderText="Active YN" Visible="true">
                                        <HeaderStyle Wrap="true" Width="80px" HorizontroalAlign="center" />
                                        <ItemStyle HorizontalAlign="center" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblActiveYN" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_ActiveYN")%>' />
                                        </ItemTemplate>
                                    </asp:TemplateField>--%>

                                    <%--''<Added By : Pooja S || Asked By : Prashant Sir || 03-Jul-2018>--%>
                                    <asp:TemplateField HeaderText="Queue To Read" Visible="false">
                                        <HeaderStyle Wrap="true" Width="110px" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="center" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblQToRead" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_QueueToRead")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtQToRead" runat="server" Width="100" 
                                                Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_QueueToRead").ToString)%>'></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Queue To Write" Visible="false">
                                        <HeaderStyle Wrap="true" Width="110px" HorizontalAlign="center" />
                                        <ItemStyle HorizontalAlign="center" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblQToWrite" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PP_QueueToWrite")%>' />
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="txtQToWrite" runat="server" Width="100" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PP_QueueToWrite").ToString)%>'></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>
                                    <%--''</Added By : Pooja S || Asked By : Prashant Sir || 03-Jul-2018>--%>

                                    <asp:BoundField runat="server" DataField="PP_Created_By" HeaderText="Created By" ReadOnly="true">
                                        <HeaderStyle HorizontalAlign="center" VerticalAlign="Middle" Wrap="true" Width="100px" />
                                        <ItemStyle Wrap="true" HorizontalAlign="left" VerticalAlign="Middle" Width="100px" />
                                    </asp:BoundField>
                                    <asp:BoundField runat="server" DataField="PP_Created_At" HeaderText="Created At" ReadOnly="true">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="true" Width="150px" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="false" Width="150px" />
                                    </asp:BoundField>


                                    <asp:BoundField runat="server" DataField="PP_Updated_By" HeaderText="Updated By" ReadOnly="true">
                                        <HeaderStyle HorizontalAlign="center" VerticalAlign="Middle" Wrap="true" Width="100px" />
                                        <ItemStyle Wrap="true" HorizontalAlign="left" VerticalAlign="Middle" Width="100px" />
                                    </asp:BoundField>

                                    <asp:BoundField runat="server" DataField="PP_Updated_At" HeaderText="Updated At" ReadOnly="true">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="true" Width="150px" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="false" Width="150px" />
                                    </asp:BoundField>

                                </Columns>
                            </asp:GridView>
                            <asp:HiddenField ID="hdnSortOrder" runat="server" />
                                </td>
                            </tr>
                        </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>




