本文介绍了如何避免水晶报表工具栏在横向模式下扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 Crystal Report工具栏正在扩展。 rpt文件是在横向模式下开发的。   < img src =../ Resources / images / subttitle.jpg style =font-size:7pt; color:#808080> CCN状态报告 <% - - %> < asp:标签ID =Label4runat =serverCssClass =NeST_LABELText =ValueDate(dd-mm-yyyy)From> < ASP:文本框ID = txtStartDate RUNAT = 服务器 的CssClass = NeST_TEXTBOX 的MaxLength = 50 伴奏= 位置:静态 的TabIndex = 4宽度=80px高度=13px> < img id =img10alt =日历/> < asp:标签ID =Label5runat =serverCssClass =NeST_LABELText =To> < ASP:文本框ID = txtEndDate RUNAT = 服务器 的CssClass = NeST_TEXTBOX 的MaxLength = 50 伴奏= 位置:静态的; 的TabIndex = 4 宽度=80px高度=13px> < img id =img1alt =日历/> < asp:Label ID =Label1runat =serverCssClass =NeST_LABELHeight =15pxText =FTS File ID> < asp:TextBox ID =txtFtsFileIDrunat =serverWidth =219px> < asp:标签ID =Label2runat =服务器CssClass =NeST_LABEL高度=15px文字=发送参考号(103/102)> < asp:TextBox ID =txtSendingRef103102runat =serverWidth =219px> < asp:标签ID =Label6runat =服务器CssClass =NeST_LABEL高度=15px文字=发送参考CCN> < asp:TextBox ID =txtSendingRefCCNrunat =serverWidth =219px> &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; 将ASP:按钮ID = btnSearch RUNAT = 服务器 的CssClass = NeST_BUTTON 风格=position:static Text =查看报告Width =100pxOnClick =btnSearch_Click/> < CR:CrystalReportViewer ID =CRVCCNStatusrunat =服务器>       < input id =hidRFRIdrunat =servername =hidRFRIdtype =hiddenvalue =0/> 为Crystalreportviewer设置的代码如下: CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.DisplayGroupTree = false ; CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.HasSearchButton = false; CRVCCNStatus.HasDrillUpButton = false; CRVCCNStatus.HasViewList = false; CRVCCNStatus.Width = 0; CRVCCNStatus.HasCrystalLogo = false; CRVCCNStatus.HasToggleGroupTreeButton = false; CR VCCNStatus.HasZoomFactorList = false; 我尝试过: Crystalreportviewer的代码集如下: CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.DisplayGroupTree = false; CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.HasSearchButton = false; CRVCCNStatus.HasDrillUpButton = false; CRVCCNStatus.HasViewList = false; CRVCCNStatus.Width = 0; CRVCCNStatus.HasCrystalLogo = false; CRVCCNStatus.HasToggleGroupTreeButton = false; CRVCCNStatus.HasZoomFactorList = false; Crystal Report tool bar is getting extended. The rpt file is developed in landscape mode.  <img src="../Resources/images/subttitle.jpg" style="font-size: 7pt; color: #808080"> CCN Status Report <%-- --%> <asp:Label ID="Label4" runat="server" CssClass="NeST_LABEL" Text="ValueDate(dd-mm-yyyy)From"> <asp:TextBox ID="txtStartDate" runat="server" CssClass="NeST_TEXTBOX" MaxLength="50" Style="position: static" TabIndex="4" Width="80px" Height="13px"> <img id="img10" alt="Calendar" /> <asp:Label ID="Label5" runat="server" CssClass="NeST_LABEL" Text="To"> <asp:TextBox ID="txtEndDate" runat="server" CssClass="NeST_TEXTBOX" MaxLength="50" Style="position: static;" TabIndex="4" Width="80px" Height="13px"> <img id="img1" alt="Calendar" /> <asp:Label ID="Label1" runat="server" CssClass="NeST_LABEL" Height="15px" Text="FTS File ID"> <asp:TextBox ID="txtFtsFileID" runat="server" Width="219px"> <asp:Label ID="Label2" runat="server" CssClass="NeST_LABEL" Height="15px" Text="Sending Ref (103/102)"> <asp:TextBox ID="txtSendingRef103102" runat="server" Width="219px"> <asp:Label ID="Label6" runat="server" CssClass="NeST_LABEL" Height="15px" Text="Sending Ref CCN"> <asp:TextBox ID="txtSendingRefCCN" runat="server" Width="219px">                                  <asp:Button ID="btnSearch" runat="server" CssClass="NeST_BUTTON" Style="position: static" Text="View Report" Width="100px" OnClick="btnSearch_Click" /> <CR:CrystalReportViewer ID="CRVCCNStatus" runat="server">       <input id="hidRFRId" runat="server" name="hidRFRId" type="hidden" value="0" /> Code set for Crystalreportviewer is as below: CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.DisplayGroupTree = false; CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.HasSearchButton = false; CRVCCNStatus.HasDrillUpButton = false; CRVCCNStatus.HasViewList = false; CRVCCNStatus.Width = 0; CRVCCNStatus.HasCrystalLogo = false; CRVCCNStatus.HasToggleGroupTreeButton = false; CRVCCNStatus.HasZoomFactorList = false;What I have tried:Code set for Crystalreportviewer is as below: CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.DisplayGroupTree = false; CRVCCNStatus.HasGotoPageButton = false; CRVCCNStatus.HasSearchButton = false; CRVCCNStatus.HasDrillUpButton = false; CRVCCNStatus.HasViewList = false; CRVCCNStatus.Width = 0; CRVCCNStatus.HasCrystalLogo = false; CRVCCNStatus.HasToggleGroupTreeButton = false; CRVCCNStatus.HasZoomFactorList = false;推荐答案 通过以下链接 [ ^ ]可能会对您有所帮助。Going through the following link[^] may help you. 这篇关于如何避免水晶报表工具栏在横向模式下扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 20:16