public ClaimsWebAuth(string targetSiteUrl, int popUpWidth, int popUpHeight)
{
if (string.IsNullOrEmpty(targetSiteUrl)) throw new ArgumentException(Constants.MSG_REQUIRED_SITE_URL);
this.fldTargetSiteUrl = targetSiteUrl;
// set login page url and success url from target site
this.GetClaimParams(this.fldTargetSiteUrl, out this.fldLoginPageUrl, out this.fldNavigationEndUrl);
// The two lines below are incorrect
this.PopUpHeight = PopUpHeight;
this.PopUpWidth = PopUpWidth;
this.webBrowser = new WebBrowser();
this.webBrowser.Navigated += new WebBrowserNavigatedEventHandler(ClaimsWebBrowser_Navigated);
this.webBrowser.ScriptErrorsSuppressed = true;
this.webBrowser.Dock = DockStyle.Fill;
}
Comments: Resolved with changeset 75374: Resolving height/width of Claims loginform.
{
if (string.IsNullOrEmpty(targetSiteUrl)) throw new ArgumentException(Constants.MSG_REQUIRED_SITE_URL);
this.fldTargetSiteUrl = targetSiteUrl;
// set login page url and success url from target site
this.GetClaimParams(this.fldTargetSiteUrl, out this.fldLoginPageUrl, out this.fldNavigationEndUrl);
// The two lines below are incorrect
this.PopUpHeight = PopUpHeight;
this.PopUpWidth = PopUpWidth;
this.webBrowser = new WebBrowser();
this.webBrowser.Navigated += new WebBrowserNavigatedEventHandler(ClaimsWebBrowser_Navigated);
this.webBrowser.ScriptErrorsSuppressed = true;
this.webBrowser.Dock = DockStyle.Fill;
}
Comments: Resolved with changeset 75374: Resolving height/width of Claims loginform.