I've been able to use tags to show a pdf file to user this way:
<div>
<object data="/Reports/PDF/#Trim(RptName)#_NewReport.pdf" type="application/pdf" width="860" height="700">
</object>
</div>
Is it also possible to do this for any file other than a pdf file? I need to also show to my users their log file, UserName_Error.log. I tried the following and nothing showed up, the log is there. I googled for tips and could not find it.
<div>
<object data="/Reports/UserError/#Trim(UserName)#_Error.log" type="text/html" width="860" height="700">
</object>
</div>
If this is not possible at all?