protected override void DefaultUpdateAction(IInputData input)
        {
            ProcessFillingUpdateEvent(input);
            FillUpdateTables(input);

            FilledUpdateEventArgs e = new FilledUpdateEventArgs(input);

            OnFilledUpdateTables(e);

            if (SupportData)
            {
                foreach (DataRow row in MainResolver.HostTable.Rows)
                {
                    CheckDataRight(input, row);
                }
            }

            if (!input.IsPost)
            {
                MetaDataTableResolver metaResolver = MainResolver as MetaDataTableResolver;
                if (metaResolver != null)
                {
                    metaResolver.Decode(input.Style);

                    if (input.Style.Style == PageStyle.Update)
                    {
                        metaResolver.FillCodeTable(input.Style);
                    }
                }
            }
        }
        protected virtual void DefaultUpdateAction(IInputData input)
        {
            ProcessFillingUpdateEvent(input);
            FillUpdateTables(input);

            FilledUpdateEventArgs e = new FilledUpdateEventArgs(input);

            OnFilledUpdateTables(e);

            if (SupportData)
            {
                CheckDataRight(input, MainRow);
            }
        }
示例#3
0
 protected virtual void OnFilledUpdateTables(FilledUpdateEventArgs e)
 {
     EventUtil.ExecuteEventHandler(EventHandlers, EventConst.FilledUpdateEvent, this, e);
 }