////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 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(); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 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); }