Dear,
I'm using the following code to display a PDF on a webpage:
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
<telerik:RadSplitter ID="Radsplitter1" runat="server" Orientation="Horizontal" Width="680">
<telerik:RadPane ID="Radpane1" runat="server" Height="850" Width="680" ContentUrl="PDFs/test.pdf">
</telerik:RadPane>
</telerik:RadSplitter>
My goal is to show the content of the PDF on the webpage.
This works great on windows devices and IOS, however when opening the webpage in Android - chrome (tried kitkat and jellybean) the pdf just downloads and does not show on the page.
(fyi on android using the standard 'internet browser' or firefox, the PDF's don't show up at all)
I found that the following code can be added to the header of the webpage:
Content-Type: application/pdf
Content-Disposition: inline; filename.pdf
I tried adding that to my masterpage, but that didn't help. I'm assuming that if i could add it to the RadPane that it would work.
Is there any way to do this, or is there another way to show the PDF files on android - chrome?
I'm using the following code to display a PDF on a webpage:
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
<telerik:RadSplitter ID="Radsplitter1" runat="server" Orientation="Horizontal" Width="680">
<telerik:RadPane ID="Radpane1" runat="server" Height="850" Width="680" ContentUrl="PDFs/test.pdf">
</telerik:RadPane>
</telerik:RadSplitter>
My goal is to show the content of the PDF on the webpage.
This works great on windows devices and IOS, however when opening the webpage in Android - chrome (tried kitkat and jellybean) the pdf just downloads and does not show on the page.
(fyi on android using the standard 'internet browser' or firefox, the PDF's don't show up at all)
I found that the following code can be added to the header of the webpage:
Content-Type: application/pdf
Content-Disposition: inline; filename.pdf
I tried adding that to my masterpage, but that didn't help. I'm assuming that if i could add it to the RadPane that it would work.
Is there any way to do this, or is there another way to show the PDF files on android - chrome?