0

I want to embed a .net webpage with ReportViewer object. I created a test project and have:

<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="FeaturedContent" >
    <asp:Panel ID="Panel1" runat="server" Height="100%" Width="100%">
                <rsweb:ReportViewer ID="ReportViewer2" runat="server" bordercolor="Navy" borderstyle="Solid" borderwidth="1px" height="100%" tooltip="Display Report" width="100%" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote">
                    <ServerReport ReportPath="/sales" ReportServerUrl="http://server/reportserver" />
                </rsweb:ReportViewer>
        </asp:Panel>
</asp:Content>

However, the buttons of the report are huge. See images:

enter image description here enter image description here

Any reason for that? Thanks

4

1 回答 1

0

终于修好了。这是一个 CSS 格式问题:

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
}

删除它,现在一切都很好。感谢大家。

于 2013-09-17T13:17:40.953 回答