private void PopulateServerSummary()
    {
        string messagePhraseTerm = m_health.CheckForIPL(LocationID);

        if (messagePhraseTerm != string.Empty)
        {
            ucServerHealthTabs.SetInfoMessage(Copient.PhraseLib.Lookup(messagePhraseTerm, LanguageID), true);
        }


        //Bind Health
        List <KeyValuePair <string, string> > headers   = new List <KeyValuePair <string, string> >();
        IRestServiceHelper RESTServiceHelper            = CurrentRequest.Resolver.Resolve <IRestServiceHelper>();
        KeyValuePair <HealthSummaryList, string> result = RESTServiceHelper.CallService <HealthSummaryList>(RESTServiceList.ServerHealthService, (hdnURL.Value != string.Empty ? hdnURL.Value + "/offerdistributionstatus" : ""), LanguageID, HttpMethod.Get, "", true, headers);
        string errorMessage = result.Value;

        serverHealthList = result.Key;

        if (errorMessage == string.Empty)
        {
            BindData(serverHealthList);
            BindWarnings(hdnURL.Value + "/allerrors?&report=true&offset=0&pagesize=" + hdnPageSize1.Value, gvWarnings, hdnPageSize1, hdnPageCount1, loadmoreajaxloader1);
            BindFiles(hdnURL.Value + "/allfiles?offset=0&pagesize=" + hdnPageSize.Value, gvFiles, hdnPageSize, hdnPageCount, loadmoreajaxloader);
        }
        else
        {
            ucServerHealthTabs.SetInfoMessage(errorMessage, true, false);

            var storedServerHealth = GetStoredJSONResponse();
            serverHealthList = storedServerHealth.Item1;
            DateTime HealthOn = storedServerHealth.Item2;

            if (serverHealthList != null && HealthOn != null && HealthOn != DateTime.MinValue)
            {
                ucServerHealthTabs.SetInfoMessage(PhraseLib.Lookup("serverhealth.msg", LanguageID) + " " + HealthOn.ToString("dd/MM/yyyy") + ".", true, true);
                BindData(serverHealthList);
            }
            loadmoreajaxloader.InnerHtml = loadmoreajaxloader1.InnerHtml = "<center>" + PhraseLib.Lookup("term.data", LanguageID) + " " + PhraseLib.Lookup("term.unavailable", LanguageID).ToLower() + "." + "</center>";
        }
    }