locked
Unable to focus the new window in custom web part RRS feed

  • Question

  • am having a  custom web part and a search button and when i click the searh button it will opena  new window [ windo.open(" mytargetserevrurl ""  ] ,  i mentioned target=_blank" so that my  search resultas will be populated in a  new window.i am getting the search results in a new window,but myissue is that  the focus is still set on the custom web part page. am not getting why the new window is lost its focus.whenever i clikedthe search button in my browser [Win xp/IE 7.0] its shows like that way.

    is there  any attribute i need to add in my window.open , so that  the new search results   window will  get focus.

    is this a  browser related issue? have  tested the  same web part in windows server 2008/ IE 8.0

    it  has opened as  new tab which is fine.

    thnx  in advance


    trutrutr
    • Moved by Mike Walsh FIN Sunday, August 28, 2011 11:56 AM cust q (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Sunday, August 28, 2011 11:37 AM

Answers

All replies