Skip to main content

Posts

Showing posts with the label Example of Getting the bound field value in Enterprise portal

Example of Getting the bound field value in Enterprise portal axapta

Example of Getting the bound field value in Enterprise portal static AxBoundField GetField(DataControlFieldCollection fields, string name) { foreach (DataControlField field in fields) { AxBoundField boundField = field as AxBoundField; if (boundField != null && String.Compare(boundField.DataField, name, true) == 0) return boundField; } return null; } AxBoundField parentCaseId = (AxBoundField)GetField(this.GeneralRight.Fields, "editParentCaseId**");