deleteuser.ascx

来自「BugNET is an issue tracking and project 」· ASCX 代码 · 共 18 行

ASCX
18
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DeleteUser.ascx.cs" Inherits="BugNET.Administration.Users.UserControls.DeleteUser" %>
<asp:Label ID="lblError" runat="server"  ForeColor="Red" />
<div>
    <p class="desc"  align="left">It is higly recommended that you unauthorize the users account instead of deleting to maintain 
        the integrity of the BugNET database.
    </p>
    <p class="desc" align="left">
        Unauthorizing the account will keep the user information intact but will not allow the user to log into the application. You can re-authorize the account
        at anytime if necessary from the user details page.
    </p>
    <p align="center" style="margin-top:10px;">
        <asp:ImageButton runat="server" id="Image4" OnClick="cmdUnauthorizeAccount_Click" CssClass="icon" ImageUrl="~/Images/key_delete.gif" />
        <asp:LinkButton ID="cmdUnauthorizeAccount" OnClick="cmdUnauthorizeAccount_Click" runat="server" Text="Unauthorize this Account" />
        &nbsp;
        <asp:ImageButton runat="server" id="Image6" OnClientClick="return confirm('Are you sure?')" OnClick="cmdDeleteUser_Click" CssClass="icon" ImageUrl="~/Images/user_delete.gif" />
        <asp:LinkButton ID="cmdDeleteUser" OnClientClick="return confirm('Are you sure?')" OnClick="cmdDeleteUser_Click" runat="server" Text="Delete this User" />
    </p>
</div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?