Beispiel #1
0
        internal static void SaveSearchCondition(MCS.Web.WebControls.SearchEventArgs e, MCS.Web.WebControls.DeluxeSearch control, string pageKey, object dataToSave)
        {
            if (e.IsSaveCondition && string.IsNullOrEmpty(e.ConditionName) == false)
            {
                UserCustomSearchCondition condition = Util.NewSearchCondition(pageKey, "Default", e.ConditionName);

                condition.ConditionContent = JSONSerializerExecute.Serialize(dataToSave);

                UserCustomSearchConditionAdapter.Instance.Update(condition);

                control.UserCustomSearchConditions = DbUtil.LoadSearchCondition(pageKey, "Default");
            }
        }
Beispiel #2
0
 internal static void UpdateSearchTip(MCS.Web.WebControls.DeluxeSearch deluxeSearch)
 {
 }