ModalContainer.razor.cs 522 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. namespace FastReport.Web.Blazor.Components.Internal
  3. {
  4. public partial class ModalContainer
  5. {
  6. private string OkButtonErrorClass { get => WebReport.HasValidationError ? "fr-webreport-popup-content-btn-disabled" : ""; }
  7. readonly Dictionary<string, string> ExportParameters = new Dictionary<string, string>();
  8. private void CancelClick()
  9. {
  10. ExportParameters.Clear();
  11. WebReport.EnableModalDialog = false;
  12. }
  13. }
  14. }