<%@ control language="VB" autoeventwireup="false" inherits="RCC_RDS_CC_UserSettings, MachSol.MachPanel.Web" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Panel runat="server" ID="Listing">
    <div class="row Div_OpsRow" id="Div_Operations" runat="server">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <%= Resources.Content.GN00001320%>                                                                                                                                 
                    </h3>
                </div>
                <div class="body">
                    <div class="clearfix">
                        <asp:Button ID="BTN_AddUserSetting" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,AddUserSetting %>' />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <asp:GridView ID="GV_UserSettings" CssClass="table table-bordered table-striped table-hover" AllowSorting="false" AllowPaging="false"
        EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

        <Columns>
            <asp:TemplateField HeaderText='<%$ Resources:Content, strName %>' HeaderStyle-CssClass="col-xs-4">
                <ItemTemplate>
                    <asp:Label ID="Lbl_Name" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText='<%$ Resources:Content, Description %>' HeaderStyle-CssClass="col-xs-6">
                <ItemTemplate>
                    <div id="Div_Description" runat="server">
                    </div>
                    &nbsp;<asp:LinkButton ID="Lb_ShowDetail" runat="server" Visible="false" Text="<%$ Resources:Content,GN0000667%>"
                        CommandName="ShowFullMsg"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-2">
                <ItemTemplate>
                    <asp:LinkButton ID="LB_Edit" SkinID="linkButtonEdit" runat="server" Text="<%$ Resources:Content,GN0000276%>" CssClass="btn btn-primary" />
                    <asp:LinkButton ID="LB_Remove" SkinID="linkButtonRemove" runat="server" Text="<%$ Resources:Content,Remove%>" CssClass="btn btn-primary btnAction" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Panel>

<asp:Panel runat="server" ID="AddEdit" Visible="false">
    <div class="row">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h2>
                        <asp:Literal ID="Lbl_AddEdit" runat="server" Text='<%$ Resources:Content, AddUserSetting %>' /></h2>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            *<asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strName%>" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_UserSettingName" runat="server" MaxLength="150"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator
                                ID="RFV_UserSettingName"
                                ControlToValidate="TxBx_UserSettingName"
                                ValidationGroup="AddUserSetting"
                                runat="server"
                                SetFocusOnError="true"
                                Display="None"
                                Text="<%$ Resources:Content,UserSettingNameRequired%>"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Description%>" />:
                        </div>
                        <div class="col-sm-10 col-xs-12">
                            <div class="form-group">
                                <asp:TextBox ID="TxBx_UserSettingDescription" runat="server" TextMode="MultiLine" Rows="7"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h2>
                                        <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content, USM0190 %>' /></h2>
                                </div>
                                <div class="body">
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal10" runat="server" Text='<%$ Resources:Content, strUserProfile %>' /></h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ProfilePath%>" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12" ID="Div_DDL_ProfilePath" runat="server">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_ProfilePath" runat="server"></asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_ProfilePath" runat="server" MaxLength="150"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,LogonScriptPath%>" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_LogonScriptPath" runat="server" MaxLength="150"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-2 col-xs-12">
                                                    <div class="form-group">
                                                        <label>
                                                            <label>
                                                                <asp:Label ID="Lbl_FileName" runat="server" EnableViewState="false" />
                                                            </label>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div class="col-sm-2 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="Ddl_LogonScriptFileExtension" runat="server">
                                                            <asp:ListItem Text=".bat" Value=".bat"></asp:ListItem>
                                                            <asp:ListItem Text=".cmd" Value=".cmd"></asp:ListItem>
                                                            <asp:ListItem Text=".ps" Value=".ps"></asp:ListItem>
                                                            <asp:ListItem Text=".ps1" Value=".ps1"></asp:ListItem>
                                                            <asp:ListItem Text=".vbs" Value=".vbs" Selected="True"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,LogonScript%>" />:
                                                </div>
                                                <div class="col-sm-10 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:TextBox ID="TxBx_LogonScript" runat="server" TextMode="MultiLine" Rows="10"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content, SPT001051 %>' /></h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:RadioButton ID="rdbUPLocalPath" Checked="true" runat="server" Text="<%$ Resources:Content,LocalPath %>" GroupName="UProfile" />
                                                    <%--<asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,LocalPath%>" />:--%>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">

                                                            <asp:TextBox ID="TxBx_LocalPath" runat="server" MaxLength="150"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:RadioButton ID="rdbUPConnect" runat="server" Text="<%$ Resources:Content,Connect %>" GroupName="UProfile" />
                                                    <%--<asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Connect%>" />:--%>
                                                </div>
                                                <div class="col-sm-2 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="Ddl_Connect" runat="server">
                                                            <asp:ListItem Text="C:" Value="C:" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text="D:" Value="D:"></asp:ListItem>
                                                            <asp:ListItem Text="E:" Value="E:"></asp:ListItem>
                                                            <asp:ListItem Text="F:" Value="F:"></asp:ListItem>
                                                            <asp:ListItem Text="G:" Value="G:"></asp:ListItem>
                                                            <asp:ListItem Text="H:" Value="H:"></asp:ListItem>
                                                            <asp:ListItem Text="I:" Value="I:"></asp:ListItem>
                                                            <asp:ListItem Text="J:" Value="J:"></asp:ListItem>
                                                            <asp:ListItem Text="K:" Value="K:"></asp:ListItem>
                                                            <asp:ListItem Text="L:" Value="L:"></asp:ListItem>
                                                            <asp:ListItem Text="M:" Value="M:"></asp:ListItem>
                                                            <asp:ListItem Text="N:" Value="N:"></asp:ListItem>
                                                            <asp:ListItem Text="O:" Value="O:"></asp:ListItem>
                                                            <asp:ListItem Text="P:" Value="P:"></asp:ListItem>
                                                            <asp:ListItem Text="Q:" Value="Q:"></asp:ListItem>
                                                            <asp:ListItem Text="R:" Value="R:"></asp:ListItem>
                                                            <asp:ListItem Text="S:" Value="S:"></asp:ListItem>
                                                            <asp:ListItem Text="T:" Value="T:"></asp:ListItem>
                                                            <asp:ListItem Text="U:" Value="U:"></asp:ListItem>
                                                            <asp:ListItem Text="V:" Value="V:"></asp:ListItem>
                                                            <asp:ListItem Text="W:" Value="W:"></asp:ListItem>
                                                            <asp:ListItem Text="X:" Value="X:"></asp:ListItem>
                                                            <asp:ListItem Text="Y:" Value="Y:"></asp:ListItem>
                                                            <asp:ListItem Text="Z:" Value="Z:"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-sm-1 col-xs-12 row-label">
                                                    <div class="form-group ">
                                                        <asp:Literal ID="Literal27" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strTo%>" />:
                                                    </div>
                                                </div>
                                                <div class="col-sm-3 col-xs-12" ID="Div_DDL_ConnectFS" runat="server">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_ConnectFS" runat="server"></asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="Txbx_Connect" runat="server" MaxLength="150"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h2>
                                        <asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content, Environment %>' /></h2>
                                </div>
                                <div class="body">
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content, StartingProgram %>' /></h3>
                                        </div>
                                        <div class="body">

                                            <div id="Div_StartthefollowingProgramAtLogon" runat="server">
                                                <div class="row">
                                                    <div class="col-sm-2 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Programefilename%>" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Programfilename" runat="server" MaxLength="150"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-2 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal16" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strStartIn%>" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_StartOn" runat="server" MaxLength="150"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal14" runat="server" Text='<%$ Resources:Content, ClientDevices %>' /></h3>
                                        </div>
                                        <div class="body">

                                            <div class="row">

                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-check">
                                                            <label class="form-check-label">
                                                                <asp:CheckBox ID="ChBx_ConnectClientDevicesAtLogon" runat="server" CssClass="form-check-input" Text=" " />
                                                                <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,ConnectClientDevicesAtLogon %>" />
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">

                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-check">
                                                            <label class="form-check-label">
                                                                <asp:CheckBox ID="ChBx_ConnectClientPrintersAtLogon" runat="server" CssClass="form-check-input" Text=" " />
                                                                <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,ConnectClientPrintersAtLogon%>" />
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">

                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-check">
                                                            <label class="form-check-label">
                                                                <asp:CheckBox ID="ChBx_DefaultToMainClientPrinter" runat="server" CssClass="form-check-input" Text=" " />
                                                                <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,DefaultToMainClientPrinter%>" />
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <%--<h4><asp:Literal ID="Literal20" runat="server" Text='<%$ Resources:Content, RemoteDesktopServicesProfile %>' /></h4>--%>
                                    <h2>
                                        <asp:Literal ID="Literal21" runat="server" Text='<%$ Resources:Content, RemoteDesktopServicesUserProfile %>' /></h2>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-2 col-xs-12 row-label">
                                            <asp:Literal ID="Literal22" runat="server" EnableViewState="false" Text="<%$ Resources:Content,UserProfilePath%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12" ID="Div_DDL_RDS_UserProfile" runat="server">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_RDS_UserProfile" runat="server"></asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_RDS_UserProfile" runat="server" MaxLength="150"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content, RemoteDesktopServicesHomeFolder %>' /></h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:RadioButton ID="rdbRDSHomeFolderLocalPath" Checked="true" runat="server" Text="<%$ Resources:Content,LocalPath %>" GroupName="RDSProfile" />
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_RDS_LocalPath" runat="server" MaxLength="150"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-2 col-xs-12 row-label">
                                                    <asp:RadioButton ID="rdbRDSHOmeFolderConnect" runat="server" Text="<%$ Resources:Content,Connect %>" GroupName="RDSProfile" />
                                                </div>
                                                <div class="col-sm-2 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="Ddl_RDS_Connect" runat="server">
                                                            <asp:ListItem Text="C:" Value="C:" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text="D:" Value="D:"></asp:ListItem>
                                                            <asp:ListItem Text="E:" Value="E:"></asp:ListItem>
                                                            <asp:ListItem Text="F:" Value="F:"></asp:ListItem>
                                                            <asp:ListItem Text="G:" Value="G:"></asp:ListItem>
                                                            <asp:ListItem Text="H:" Value="H:"></asp:ListItem>
                                                            <asp:ListItem Text="I:" Value="I:"></asp:ListItem>
                                                            <asp:ListItem Text="J:" Value="J:"></asp:ListItem>
                                                            <asp:ListItem Text="K:" Value="K:"></asp:ListItem>
                                                            <asp:ListItem Text="L:" Value="L:"></asp:ListItem>
                                                            <asp:ListItem Text="M:" Value="M:"></asp:ListItem>
                                                            <asp:ListItem Text="N:" Value="N:"></asp:ListItem>
                                                            <asp:ListItem Text="O:" Value="O:"></asp:ListItem>
                                                            <asp:ListItem Text="P:" Value="P:"></asp:ListItem>
                                                            <asp:ListItem Text="Q:" Value="Q:"></asp:ListItem>
                                                            <asp:ListItem Text="R:" Value="R:"></asp:ListItem>
                                                            <asp:ListItem Text="S:" Value="S:"></asp:ListItem>
                                                            <asp:ListItem Text="T:" Value="T:"></asp:ListItem>
                                                            <asp:ListItem Text="U:" Value="U:"></asp:ListItem>
                                                            <asp:ListItem Text="V:" Value="V:"></asp:ListItem>
                                                            <asp:ListItem Text="W:" Value="W:"></asp:ListItem>
                                                            <asp:ListItem Text="X:" Value="X:"></asp:ListItem>
                                                            <asp:ListItem Text="Y:" Value="Y:"></asp:ListItem>
                                                            <asp:ListItem Text="Z:" Value="Z:"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-sm-1 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal24" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strTo%>" />:
                                                </div>
                                                <div class="col-sm-3 col-xs-12" ID="Div_DDL_RDS_ConnectFS" runat="server">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_RDS_ConnectFS" runat="server"></asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_RDS_Connect" runat="server" MaxLength="150"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-12 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-check">
                                                            <label class="form-check-label">
                                                                <asp:CheckBox ID="ChBx_Denythisuserpermissionstologonto" runat="server" CssClass="form-check-input" Text=" " />
                                                                <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,Denythisuserpermissionstologonto %>" />
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12 row-label">
                            <asp:Literal ID="Literal26" runat="server" EnableViewState="false" Text="<%$ Resources:Content,AppliesTo %>" />:
                        </div>
                        <div class="col-xs-12">
                            <div class="form-group">
                                <EM:AddSelectableSelected ID="UTCSUsers" runat="server" SortByValue="false" />
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                                ValidationGroup="AddUserSetting" HeaderText="<%$ Resources:Content,EM000001%>" />

                            <asp:Button ID="Btn_Save" class="btn btn-primary waves-effect btnAction" ValidationGroup="AddUserSetting" CausesValidation="true" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                            <asp:Button ID="Btn_Cancel" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>


<asp:Panel ID="Pnl_MsgDetail" runat="server" CssClass="width-modal-popup-auto">
    <div class="col-xs-12">
        <div class="card">
            <div class="header container-fluid">
                <h3 class="pull-left">
                    <asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content, Description %>' />
                </h3>
                <span>
                    <button type="button" class="close" onclick="$find('<%=MPE_MsgDetail.ClientID%>').hide();">&times;</button>
                </span>
            </div>
            <div class="body">
                <div class="col-xs-12">
                    <div id="Div_MsgDetail" runat="server"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-xs-12">
        <asp:Button class="btn btn-primary waves-effect" ID="Btn_MsgDetailClose" runat="server" Text='<%$ Resources:Content,GN000150%>' />
    </div>
</asp:Panel>
<asp:Button ID="Btn_Dummy2" runat="server" Style="display: none" Text='<%$ Resources:Content,GN0000575%>' />
<EM:ModalPopupExtender runat="server" ID="MPE_MsgDetail" BackgroundCssClass="modalBackground"
    DropShadow="false" PopupControlID="Pnl_MsgDetail" CancelControlID="Btn_MsgDetailClose"
    TargetControlID="Btn_Dummy2" />
