locked
Pop up window is not opening in web browser control embedded in c# form RRS feed

  • Question

  • Hi All,

    we are opening our sharepoint site in our windows application using web browser control.

    when we are trying to create a post, pop up window is not opening through our application, which works fine in IE/firefox.

    for create a post sharepoint uses javascript to open pop up window of that form, which is not opening through web browser control.

    please give us any idea on this issue.

    Thanks in advance

    • Moved by Paul Zhou Tuesday, January 24, 2012 4:57 AM move for better support (From:.NET Platform Architecture Development Discussions)
    Saturday, January 21, 2012 12:45 PM

Answers

  • Default Property of WebBrowser Control should allow you to open a Pop-up unless untill programtically you are restrcting not to open a PopUp.

    Are You sure You do not have any code to block new Windows like..

    void webBrowser1_NewWindow(object sender, CancelEventArgs e)
            {
                e.Cancel = true;
            }


    Lingaraj Mishra
    • Proposed as answer by Neddy Ren Tuesday, January 24, 2012 7:06 AM
    • Marked as answer by Neddy Ren Thursday, February 9, 2012 9:12 AM
    Monday, January 23, 2012 9:26 AM