WebPI: go to product download/install page directly by 'WPIProduct' query string parameter

This commit is contained in:
ruslanht 2012-12-18 12:04:13 +02:00
parent 202d058912
commit 2e73fd537b

View file

@ -108,6 +108,16 @@ namespace WebsitePanel.Portal
ShowProgressPanel(); ShowProgressPanel();
} }
string gotoProduct = Request.QueryString["WPIProduct"];
if (!string.IsNullOrEmpty(gotoProduct))
{
ArrayList wpiProductsForInstall = GetProductsToInstallList();
wpiProductsForInstall.Add(gotoProduct);
SetProductsToInstallList(wpiProductsForInstall);
btnInstall_Click(sender, e);
}
} }
} }