bramdejager / spcb

The SharePoint Client Browser (SPCB) uses the CSOM to connect to a remote SharePoint site collection and shows the site structure with related properties and values.
GNU General Public License v2.0
174 stars 48 forks source link

Setting height/width of loginform doesn't work #13

Closed bramdejager closed 6 years ago

bramdejager commented 6 years ago

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;
}

This work item was migrated from CodePlex

CodePlex work item ID: '25415' Assigned to: 'BdeJager' Vote count: '1'

bramdejager commented 6 years ago

[UnknownUser@18-12-2014] Resolved with changeset 75374: Resolving height/width of Claims loginform.

bramdejager commented 6 years ago

[UnknownUser@17-8-2015]