protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { formLayout = (ASPxFormLayout)LAdministratorGridview.FindEditFormTemplateControl("formLayout"); } }
protected void ASPxButtonPwdReset_Init(object sender, EventArgs e) { ASPxButtonPwdReset = (ASPxButton)LAdministratorGridview.FindEditFormTemplateControl("ASPxButtonPwdReset"); ASPxButtonPwdReset.Visible = !LAdministratorGridview.IsNewRowEditing; }