void SetFieldOrder() { var fidString = FieldOrder.Value.Replace(",,", ","); var fids = fidString.Split(','); var ids = fids.Select(fid => int.Parse(fid.Split('_')[1])); FieldController.ChangeFieldOrder(ids); BindFields(); FieldOrder.Value = string.Empty; }