protected void btnSaveSystemDictionary_Click(object sender, DirectEventArgs e) { try { SystemDictionaryWrapper obj = new SystemDictionaryWrapper(); obj.SystemDictionaryGroupID = DictionaryGroup; obj.SystemDictionaryKey = this.txtSystemDictionaryKey.Text.Trim(); obj.SystemDictionaryCode = this.txtSystemDictionaryCode.Text.Trim(); obj.SystemDictionaryValue = this.txtSystemDictionaryValue.Text.Trim(); obj.SystemDictionaryDesciption = this.txtSystemDictionaryDesciption.Text.Trim(); obj.SystemDictionaryOrder = Convert.ToInt32(this.txtSystemDictionaryOrder.Text.Trim()); obj.SystemDictionaryIsEnable = this.chkSystemDictionaryIsEnable.Checked; obj.SystemDictionaryIsSystem = this.chkSystemDictionaryIsSystem.Checked; SystemDictionaryWrapper.Save(obj); SysDictionaryWrapper.RefreshCache(); winSystemDictionaryAdd.Hide(); } catch (Exception ex) { ResourceManager.AjaxSuccess = false; ResourceManager.AjaxErrorMessage = "ErrorMessage:" + ex.Message; } }
public static string ParseDataSycnTypeDictionaryKey(string key) { return(SystemDictionaryWrapper.ParseDictionaryValueByGroupCodeAndKey(Dictionary_GroupCode_DataSycnType, key)); }
public static string ParseChannelStateReportTypeDictionaryKey(string key) { return(SystemDictionaryWrapper.ParseDictionaryValueByGroupCodeAndKey(Dictionary_GroupCode_ChannelStateReportType, key)); }
protected void storeFilterSystemDictionary_OnRefreshData(object sender, StoreRefreshDataEventArgs e) { storeFilterSystemDictionary.DataSource = SystemDictionaryWrapper.GetDictionaryByGroupCode(DictionaryGroup.Code); storeFilterSystemDictionary.DataBind(); }
public static string ParseSPFieldDictionaryKey(string key) { return(SystemDictionaryWrapper.ParseDictionaryValueByGroupCodeAndKey(Dictionary_GroupCode_SPField, key)); }
public static string ParseUserRoleTypeDictionaryKey(string key) { return(SystemDictionaryWrapper.ParseDictionaryValueByCategoryNameAndKey(Dictionary_Key_UserRoleType, key)); }