protected void txtTenKT_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { if ((e.Value as string).Length <= 0) { e.IsValid = false; } }
protected void txtProductGroupEditName_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { e.IsValid = validate(); if (txtProductGroupEditName.ValidationSettings.ErrorText == "") { e.IsValid = true; } }
protected void txtNameSupplier_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { //e.IsValid = validate(); //if (txtNameSupplier.ValidationSettings.ErrorText == "") //{ // e.IsValid = true; //} }
protected void txtName_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { }
protected void txtCodeMaterialCategory_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { }
//protected void ddlExportType_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) //{ //} protected void ddlSourceType_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { }
protected void txtCodeProductGroup_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { }
protected void txtNameManufacturerGroup_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { }
protected void ASPxSpinEditDaysHours_Validation(object sender, DevExpress.Web.ASPxEditors.ValidationEventArgs e) { e.IsValid = ASPxTextBoxHours.Value != null || ASPxSpinEditDays.Value != null; e.ErrorText = "Моля, въведете планираното време!"; }