private void ReadQueryString()
{
StringDictionary returnDict = GetAdminControlKeys();
string adminTypeParam = Request.Params["adminType"];
if (Utility.HasValue(adminTypeParam))
{
_controlToLoad = returnDict[adminTypeParam.ToUpperInvariant()];
}
else
{
//check to see if there are any categories, if not display an instructions control
DataTable dt = Category.GetCategories(PortalId);
_controlToLoad = dt.Rows.Count < 1 ? "Admin/AdminInstructions.ascx" : "articlecontrols/ArticleList.ascx";
}
if (!IsSetup)
{
_controlToLoad = "Admin/AdminSettings.ascx";
}
}