为asp:content设置100%高度和宽度

时间:2018-05-16 17:18:11

标签: asp.net

我有一个Page Report.aspx,内容如下:

<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="server">
    <a:ShowPdf ID="ShowPdf1" Name="ShowPdf" runat="server" BorderStyle="Inset" BorderWidth="2px" FilePath="84ca0965220b47b592f9a0fc8aeb535c.pdf"
                 Height="100%" 
                 Width="100%" />
</asp:Content>

问题是,Control ShowPDF没有显示完整的高度。

enter image description here

如何为控件设置100%高度?

0 个答案:

没有答案
相关问题