ESB Portal - Order Faults by DateTime
The ESB Portal can be a usefull tool, but can become an anoying one as well quite fast… The default order of the Faults in the grid is by Severity. You can order by DateTime, but this sorting order will be lost on page reload… Verry irritating indeed.
We can change the standard sorting order by opening the ESB.Portal solution and adding some code to the FaultList.ascx.cs Class:
// Order Faults by DateTime Desc instead of Severity if (Faults.Rows.Count > 0) { Faults.Sort(“DateTime”, System.Web.UI.WebControls.SortDirection.Descending); }
The result on page load: