| 
		
	 | 
	
	
	
		Rank: Newbie Groups: Member
 
 
Joined: 9/5/2013 Posts: 9 
	 | 
		   
	     
		    When I use the [EO.Pdf.Mvc4.RenderAsPDF] attribute it sends the pdf to the browser, so the browser asks the user to open/save the file. But I want to immediately show the pdf in a browser window. 
  Is there a simple way to do this? I know how to do it by returning an Mvc.FileContentResult and setting the type to "application/pdf," but I'd like to be able to use the RenderAsPDF attribute.
		 
	 | 
 | 
	
	
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  I believe you can do that by setting ResultAsDownload to false on the RenderAsPDF attribute.
  Thanks!
		 
	 | 
 | 
	
	
	
		Rank: Newbie Groups: Member
 
 
Joined: 9/5/2013 Posts: 9 
	 | 
		   
	     
		    Oh, well that was easy. Thank you.
		 
	 | 
 | 
	
	
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    You are very welcome. Please feel free to let us know if there is anything else.
		 
	 | 
 |