From 9e9f3f7b6245410cf202850ee8125f9ca88ea3cd Mon Sep 17 00:00:00 2001 From: ruslanht Date: Mon, 7 Jan 2013 12:26:01 +0200 Subject: [PATCH] Web App Gallery installer: bind db policies when database mode changed --- .../WebsitePanel/WebApplicationGalleryParams.ascx.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebApplicationGalleryParams.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebApplicationGalleryParams.ascx.cs index 1bfbb79a..0222ec36 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebApplicationGalleryParams.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebApplicationGalleryParams.ascx.cs @@ -334,7 +334,13 @@ namespace WebsitePanel.Portal protected void databaseMode_SelectedIndexChanged(object sender, EventArgs e) { - BindParameters(); + // load parameters + List parameters = GetApplicationParameters(); + if (parameters == null) + return; + + BindDBPolicies(parameters); + BindParameters(parameters); } private void BindParameters()