public NormalListData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(NormalListData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { ShowPage = ShowListHeader = ShowTitle = ShowExportExcel = true; OperatorPosition = OperatorPosition.Left; NoDataCaption = RazorDataConst.NO_DATA_CAPTION; OperationCaption = RazorDataConst.OPERATION_CAPTION; OperatorWidth = RazorDataConst.NORMAL_LIST_OPERATOR_WIDTH; PageNumberCount = RazorDataConst.NORMAL_LIST_PAGE_COUNT; SearchCheckBox = SearchDataMethod.Like; RowOperatorStyle = RowOperatorStyle.CreateDefault(); } else { this.CopyFromObject(defaultObject); if (RowOperatorStyle == null) { RowOperatorStyle = RowOperatorStyle.CreateDefault(); } } }
public NormalMultiDetailData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(NormalMultiDetailData)); if (defaultCreator != null && DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { this.CopyFromObject(defaultObject); } fTableDatas = new RegNameList <SingleTableDetailData>(); }
public NormalTreeData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(NormalTreeData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { ShowUpDownButton = true; ShowTitle = true; IsNewRootDialog = true; } else { this.CopyFromObject(defaultObject); } }
public NormalEditData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(NormalEditData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { ShowTitle = true; NormalCancelCaption = RazorDataConst.NORMAL_CANCEL_CAPTION; DialogCancelCaption = RazorDataConst.DIALOG_CANCEL_CAPTION; } else { this.CopyFromObject(defaultObject); } }
public NormalQueryData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(NormalQueryData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { ShowTitle = Export = Sortable = true; NoDataCaption = RazorDataConst.NO_DATA_CAPTION; HeadAlign = Alignment.Left; ButtonCaption = RazorDataConst.QUERY_BUTTON_CAPTION; } else { this.CopyFromObject(defaultObject); } }
public NormalStatListData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(NormalStatListData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { SubTotalCaption = RazorDataConst.SUB_TOTAL_CAPTION; SubTotalPosition = DataDirection.Foot; TotalCaption = RazorDataConst.TOTAL_CAPTION; TotalPosition = DataDirection.Foot; OperatorPosition = OperatorPosition.None; } else { this.CopyFromObject(defaultObject); } fDisplayList = new RegNameList <StatFieldDisplayConfig>(); }
public BootcssDetailData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(BootcssDetailData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { CaptionColumn = RazorDataConst.DETAIL_CAPTION_COLUMN; DataColumn = RazorDataConst.DETAIL_CONTROL_COLUMN; AppendHint = true; MainPicNickName = RazorDataConst.MAIN_PIC_NICKNAME; PictureTableIdName = RazorDataConst.PICTURE_TABLEID_NAME; TitleFormat = RazorDataConst.DETAIL_FORMAT; } else { this.CopyFromObject(defaultObject); } }
public BootcssEditData() { object defaultCreator = DefaultUtil.GetFactoryObject(RazorDataConst.SECTION_NAME, nameof(BootcssEditData)); if (defaultCreator == null || !DefaultUtil.CreateConfigObject( defaultCreator, out object defaultObject)) { CaptionColumn = RazorDataConst.CAPTION_COLUMN; fDataColumn = RazorDataConst.CONTROL_COLUMN; SaveButtonCaption = RazorDataConst.SAVE_BUTTON_CAPTION; FormAction = RazorDataConst.FORM_ACTION; InsertFormat = RazorDataConst.INSERT_FORMAT; EditFormat = RazorDataConst.EDIT_FORMAT; ShowCaption = true; } else { this.CopyFromObject(defaultObject); } }
static WebRazorUtil() { TemplateName = DefaultUtil.GetSimpleValue(RAZOR_NAME, DEFAULT_RAZOR_TEMPLATE); }