• s_s.ax1351
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hello.  I have VF page which allows the User to select some records.  Then the User presses a button - which calls a controller method that returns a PageReference to a VF page with the contentType attribute set to a Word doc type.  Works perfectly - except that in addition to launching Word it also tries to load the page in the browser...so the browser is blank (Word doc looks fine).  What do i have to do to make the browser stay on the same page?  (i thought setting the contentType would have prevented the browser change, but apparently i'm mistaken there.

 

thanks

chris