protected void doSubmit() { var curAVLTableCache = (AVLTable)this.Caches[typeof(AVLTable)].Current; if (curAVLTableCache.AVLStatus.Trim().Equals(dicAVLTableStatus["OnHold"])) { curAVLTableCache.AVLStatus = dicAVLTableStatus["Submitted"]; AVLTableView.UpdateCurrent(); // reload the AVLTable Form Actions.PressSave(); insertAVLEvent(currentPage); //Layout buttonEnable(curAVLTableCache.AVLStatus); } }