Izenda Logo

About

Allows customization for deleting forms associated with specific reports

Global.asax (C♯)

static Dictionary<string, byte[]> thumbnails = new Dictionary<string, byte[]>();

    public override void DeleteThumbnail(ReportInfo reportInfo)
    {
      if (thumbnails.ContainsKey((reportInfo.Category ?? "") + "#" + (reportInfo.Name ?? "")))
        thumbnails.Remove((reportInfo.Category ?? "") + "#" + (reportInfo.Name ?? ""));
    }

Global.asax (VB.NET)