CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2011
    Location
    Tennessee
    Posts
    19

    [RESOLVED] c# - VS2005 to VS2010

    I hope this is the right forum to ask this question.

    I have C#/ASP.net browswer application with several aspx pages and some are displayed by opening a new window. While I was using VS2005 everything opened without a problem as long as the pop up blocker was turn off. I just got VS2010 and was adding couple of new aspx pages which one will be opened in separate window. But while running the application on my local machine the application it thinks the pop up blocker is on. Which I have checked the internet options and pop blocker is turn off. This is the code I have been using successful before opening up the project in VS2010.

    ClientScript.RegisterStartupScript(this.GetType(), "PhyFDBKFormEmail.aspx",
    String.Format("<script>window.open('{0}');</script>",
    clsIncidentReporting.urlPhyFDBKFormEmail + "?dinigol=" + Request.QueryString["dinigol"]));

    Thanks for any and all help!

  2. #2
    Join Date
    Apr 2011
    Location
    Tennessee
    Posts
    19

    Unhappy Re: c# - VS2005 to VS2010

    Is there anyone out there that can help me. Appartently, with VS2010 and ClientScript the application thinks the popup blocker is on and it is not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured