Open KHerron opened 7 years ago
I also added this to the logs.aspx.cs file:
DropDownList ddlSource2 = (DropDownList)gvLog.HeaderRow.FindControl("ddlSource");
btnClear.ToolTip = "Clears " + ddlSource2.Text + " Log Entries";
btnClear2.ToolTip = "Clears " + ddlSource2.Text + " Log Entries";
I have already implemented this on my setup and it is working. However, to not pile on more work for the release of 049, I will wait till after the release.
This requires a new Stored Procedure added to the database, and a code change to the OSAE.General.OSAELog and the logs.aspx.cs file. (See Below) This enhancement will only clear the selected log in the Source drop down. To clear all logs, simply select ALL, then click clear. But now you can just clear one log should you need too!
The new stored procedure is as follows:
The new code in OSAE.General.OSAELog is as follows:
The code changes in the logs.aspx.cs is as follows: