protected override void ClearView() { ClearTargetCollection(); Ratings.MoveCurrentToPosition(0); RatingTypes.MoveCurrentToPosition(0); TargetModel = new InpsRating(); }
protected override void ClearView() { try { base.ClearTargetCollection(); //Metrics = new Infrastructure.MangoService.Metrics(); Metrics = null; IsInfinity = false; Ratings.MoveCurrentToPosition(0); RatingTypes.MoveCurrentToPosition(0); TargetModel = new MetricRating(); UpdateViewState(Edit.Mode.Loaded); //CanRemoveAllMetricRating = false; } catch (Exception ex) { Utility.DisplayMessage(ex.Message); } }