private void BindEmptyList() { PluginItemCollection emptyItems = SubSiteOpenIdHelper.GetEmptyItems(); if (emptyItems != null && emptyItems.Count > 0) { this.grdEmptyList.DataSource = emptyItems.Items; this.grdEmptyList.DataBind(); this.pnlEmptyList.Visible = true; this.pnlEmptyNote.Visible = false; return; } this.pnlEmptyList.Visible = false; this.pnlEmptyNote.Visible = true; }
private void BindEmptyList() { PluginItemCollection emptyItems = SubSiteOpenIdHelper.GetEmptyItems(); if ((emptyItems != null) && (emptyItems.Count > 0)) { grdEmptyList.DataSource = emptyItems.Items; grdEmptyList.DataBind(); pnlEmptyList.Visible = true; pnlEmptyNote.Visible = false; } else { pnlEmptyList.Visible = false; pnlEmptyNote.Visible = true; } }