In short, there is no simpler way. You need to make another server request to show PDF file. Al though, there are few alternatives but they are not perfect and won't work on all browsers:
- Look at data URI scheme. If binary data is small then you can perhaps use javascript to open window passing data in URI.
- Windows/IE only solution would be to have .NET control or FileSystemObject to save the data on local file system and open it from there.