Exemple #1
0
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 void ClearData()
 {
     txtUsrLoginID.Text = "";
     txtUsrPassword.Attributes["value"] = "";
     txtUsrFullName.Text        = "";
     ddlUsrStatus.SelectedIndex = -1;
     ddlUsrLang.SelectedIndex   = -1;
     txtUsrEmail.Text           = "";
     txtUsrDescription.Text     = "";
     ViewState["CommandName"]   = "";
     calUsrStartDate.ClearDate();
     calUsrExpiryDate.ClearDate();
     PermCtl.Clear();
 }
Exemple #2
0
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    protected void ClearUI()
    {
        txtUsrLoginID.Text = "";
        ViewState["Pass"]  = null;
        txtUsrPassword.Attributes["value"] = "";
        txtUsrFullName.Text = "";
        txtUsrEmailID.Text  = "";

        //txtUsrEmpID.Text = "";

        calUsrStartDate.ClearDate();
        calUsrExpiryDate.ClearDate();

        ddlUsrStatus.SelectedIndex = 0;
        txtUsrDescription.Text     = "";

        PermCtl.Clear();

        EnableItem(true);
    }