Report Viewer 2015 not navigating to next page
I am using a report viewer 2015 in an ASP.NET application with credentials passed using IReportServerConnection2.
But after clicking next page on report viewer toolbar, 2nd page of report is not shown.
The issue is reproducible with
ASP.NET application installed on Windows Server 2008 R2 but not when installed on Windows 8.1.
Please help its urgent.
Hi Vaibhav,
Is there any error displayed for this issue? If you can debug the ASP.NET application in VS, can you try to set breakpoint at the event
protected
void
Application_Error(object
sender,
EventArgs
e)
in Global.asax.cs to see whether the breakpoint would be hit and what kind of error it is when clicking next page.
Thanks,
Wynn
Similar Messages
-
BIP Report PDF layout not extending to next page
Hi,
I am using BI Publisher Report.
I need to show the data in columns. Ex: Plan Name. Each plan name should be shown in separate column. While doing so, when the paper size is completed, data is not printing in next page.
I need to merge the cells above the Plan Name along with the heading on the first column. But merging is not happening.
But the merging is not happening as expected. Merging is happening as below
Is there any thing which I am missing. Could any one help me in this regard.
Thanks!
Regards,
Kishore NerellaHi Vaibhav,
Is there any error displayed for this issue? If you can debug the ASP.NET application in VS, can you try to set breakpoint at the event
protected
void
Application_Error(object
sender,
EventArgs
e)
in Global.asax.cs to see whether the breakpoint would be hit and what kind of error it is when clicking next page.
Thanks,
Wynn -
Page not navigating into next page
HI,
I have two screens, where in the First screen if you give a Partner number then it should take you to the next screen, and show relevant detaisl ina table control.
But this is not happening,, where are the settings to be checked...
Any reason.....
GautamHI,
you should allow the user to navigate to the next screen.
best regards
Tobias -
How to split table in the report so it shows on the next page?
Hi,
How to split table in the report so it shows on the next page? Im trying to fit long (many columns) table into my report page. It is too long however. I want it to wrap and show the rest on the next page. What I get now is table cut at the page end and rest is not visible.Yes, this might be that the amount of data will cause table to grow and exceed 1, 2, 3.. pages. In that case I would probably want to have, lets say , one half of columns on 1st page then the other on the 2nd page and then repeatedly the same sequence down across all pages. Is there a way to achieve this?
-
NPE error when navigating to next page based on lov selection
hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
{code}
<DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
<DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
<DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
<DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
<DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 more
Caused by: java.lang.NullPointerException
at showSelectedOrg(OrgDetails.java:2455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... 45 more
THIS IS THE LINE AM GETING THE ERROR
method.getParamsMap().put("rowKey", newVal);
<af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
required="true"
id="soc1" autoSubmit="true" valuePassThru="true"
contentStyle="width:145px">
<f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
</af:selectOneChoice>
<af:commandButton text="UpdateOrganisation"
id="cb1"
action="#{pageFlowScope.addMember.showSelectedOrg}"/>
public String showSelectedOrg() {
/* if(getorgids() == null ||getorgids().equals(null)){
JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
BindingContext lBindingContext = BindingContext.getCurrent();
BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
// get the list binding for the Organisation lov
JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
// get the selected index from the list which is stored in the Orgidd1 attribute
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
Integer selid = (Integer)attr.getInputValue();
// load the listdata
Object row = list.getDisplayData();
// get the selected row from the list
Row lFromList = (Row)list.getValueFromList(selid);
// from the row we get the PK the orgnasationId
Object lAttribute = lFromList.getAttribute("Organisationid");
Object orgname = lFromList.getAttribute("Organisationname");
Number newVal = (Number)lAttribute;
String neworg = (String)orgname;
_logger.info("Information: selected Organisation = " + newVal);
System.out.println("neworg " + newVal);
System.out.println("testorg " + neworg);
selectedState = neworg;
// get the MethodAction for setCurrentRowWithKeyValue
OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
// set hte needed parameter as the organisation id
method.getParamsMap().put("rowKey", newVal);
method.execute();
// after execution check for errors
List errors = method.getErrors();
Exception ex = (Exception)errors.get(0);
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
FacesContext.getCurrentInstance().addMessage(null, msg);
// keep on page in case of an error
// navigate to the next page
return "show";
{code}
am in jdeveloper 11.1.1.6.0adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
Still the same error. The stack trace still points to it, you only need to read it carefulle
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
Caused by: java.lang.NullPointerException
OrgDetails.showSelectedOrg(OrgDetails.java:2456)
The origin is
method.execute();
and the real reason is
MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
What does it tell you?
Timo -
Table row does not flow to next page
Hi,
I am using deep structure table in adobe form but the content is not flowing to next page.
I have wraped the table in subform, Body Page, subform and table all are flowed and allow page breaks with content is also ticked, still the table row does not flow to next page.
Regards,
KimayaHi Kimaya,
Just drag the table directly on the body page and execute the form. This should take care of the properties required for data to flow on the form.
Thanks -
Internal Table data is not overflowing into Next Page - Adobeforms
Hi,
I have an issue if the internal table consits of more than 20 records that data is not overflowing into next page.
Here am using Header only on first page & Table will follows...
Regards,
PraVeen..
Edited by: praveenreddys on Feb 15, 2012 10:51 PMHi praveenreddys ,
I had the same requirement, I did as follows:
LEFT HAND SIDE SELECT "TABLE": check below right hand side properties for this object
1. table tab: select the check box allow page breaks within content.
2. pagination tab: place: Following previous
after:continue filling parent
overflow: none.
LEFT HAND SIDE SELECT "HEADER": check below right hand side properties for this object
3. row tab: select the check box allow page breaks within content.
4. pagination tab: place: Following previous
after:continue filling parent
overflow: none.
select the check boxes: Include header row in initial page
include header row in subsequent pages
Binding tab property:
5.select check box: Repeat row for each data item
LEFT HAND SIDE SELECT "ROW": check below right hand side properties for this object
6. Row tab: DON'T select the chek box allow page breaks with in content
4. pagination tab: place: Following previous
after:continue filling parent
overflow: none.
Binding tab property:
5.select check box: Repeat row for each data item
Then test..it would work for you...ALL THE BEST!!!
If this helps please reward points.
Reards,
Naresh. -
The "next" button of crystal report viewer does not work
hi
I use crystal report viewer control to show my crystal report on my aspx page.
like:
<CR:CrystalReportViewer id="CRViewer" runat="server" HasRefreshButton="False" PrintMode="ActiveX" DisplayGroupTree="False"
AutoDataBind="True"
SeparatePages="TRUE"
Height="520px"
Width="900px">
</CR:CrystalReportViewer>
however when I try to navigate to next page by click "Next" arrow button on the crystal report viewer toolbar, it only can navigate to the page 2, whatever I click the "Next" button, it still stay on page 2,
actually this report has 10 pages.
On the other hand, if I input the page number, such as 5 on the "goto" textbox, it will jump to page 5 correctly.
Could you give me any good advices to solve this problem?
Thanks.There are a few threads discussing the issue in this forum. See if these provide some guidance:
"Next Page" wont go beyond page 2 in Html Viewer (Crystal.NET for VS 2008)
Re: Crystal Reports .NET Visual Studio 2005
Problem in CrystalReportViewer
Ludek -
I am using the new Firefox Developer Edition as a stand-alone on Ubuntu, so I can still use the "old" version, too.
Everything seems to be working fine, as in I am logged in and setup sync. But a few features I got very much used to are no longer working.
When I click on "About Firefox Developer Edition", it shows these details:
Firefox Developer Edition 36.0a2 (2014-12-09)
Firefox Developer Edition is up to date
You are currently on the aurora update channel.
In my "old" Firefox, I can:
1. Click with the mouse wheel on the navigation arrows to open the previous or next page in a new tab.
2. "right mouse click" on the navigation arrows to see the list of previously visited pages of the current tab, and the ones I visited after the page I am on, if I clicked "back" once or more times. I can then click the mouse wheel or "Ctrl + Left Mouse Button" to open any of the pages in the list in a new tab.
None of this works in the Developer Edition.To clarify, the list of previously or later visited pages does still show up when I right click on the navigation arrows in the Developer Version, but I cannot open any of the links in the list in a new tab with the mouse wheel or "Ctrl + Left Mouse Click".
-
Crystal report viewer does not observe the PaperSize and PageOrientation setting
Hi:
My application is a 3 tier application, where the WinForm client is connected to the WCF Services hosted in IIS server.
The report is generated on server side using WCF service, and export as.rpt with data, the .rpt file is then sent to the WinForm client, the Crystal Report viewer is used to load the .rpt file for preview and print.
On server side I've Microsoft XPS Document Writer installed and set as default printer. On the client side if the default printer is XPS or Nitro PDF creator, the report can be view and print correctly, report design in landscape will be able to show in the landscape in CR viewer, report design using custom paper size (e.g. Half Letter), CR viewer able to show it in Half Letter.
The problem that I'm facing is when the default printer is set to HP LaserJet P1120 or others (I've tried Epson ESC/P Standard driver), the report is always shown in the portrait, and it will not be able to show in custom paper size either. Here is my code:
Dim settings As New System.Drawing.Printing.PrinterSettings
Dim rep as New ReportDocument
rep.Load(sOutputFileName) 'The report is download from server and save in sOutputFileName
SetReportPaperSize(rep, sPaperSizeName, False, settings) ' sPaperSizeName store the name of the custom paper used in the report
CrViewer.ReportSource = rep
Public Shared Sub SetReportPaperSize(rep As ReportDocument, paperSizeName As String, isHardCopy As Boolean, settings As Printing.PrinterSettings)
Dim installedPrinters As Printing.PrinterSettings.StringCollection = Printing.PrinterSettings.InstalledPrinters
Dim printers As New List(Of String)
Dim sPrinter As String
If installedPrinters.Count = 0 Then
Return
End If
SetPrinterDefaultPaperSize(rep.PrintOptions, paperSizeName, settings)
With rep.PrintOptions
.PrinterName = settings.PrinterName
.PaperSource = PaperSource.Auto
If paperSizeName.Trim.Length > 0 Then
.PaperSize = DirectCast(GetPapersizeId(paperSizeName, settings, rep.PrintOptions.PaperSize), CrystalDecisions.Shared.PaperSize)
End If
End With
End Sub
Public Shared Sub SetPrinterDefaultPaperSize(printOptions As PrintOptions, paperSizeName As String, settings As Printing.PrinterSettings)
With settings.DefaultPageSettings
If paperSizeName.Trim.Length = 0 Then
. PaperSize = GetPaperSize (printOptions.PaperSize, settings)
Else
For Each size As Printing.PaperSize In settings.PaperSizes
If size.PaperName.EqualsTo(paperSizeName) Then
.PaperSize = size
Exit For
End If
Next
End If
.Landscape = printOptions.PaperOrientation = PaperOrientation.Landscape
.Margins.Top = printOptions.PageMargins.topMargin
.Margins.Left = printOptions.PageMargins.leftMargin
.Margins.Bottom = printOptions.PageMargins.bottomMargin
.Margins.Right = printOptions.PageMargins.rightMargin
End With
End Sub
Public Shared Function GetPaperSize(paperSizeId As Integer, defaultPrinterSettings As Printing.PrinterSettings) As Printing.PaperSize
Dim settings As Printing.PrinterSettings = defaultPrinterSettings
Dim result As Printing.PaperSize
If settings Is Nothing Then
settings = New Printing.PrinterSettings
End If
' Default paper Size defined in the printer
result = settings.DefaultPageSettings.PaperSize
For Each size As Printing.PaperSize In settings.PaperSizes
If size.RawKind = paperSizeId Then
result = size
Exit For
End If
Next
Return result
End Function
Public Shared Function GetPapersizeId(paperSizeName As String, defaultPrinterSettings As Printing.PrinterSettings Optional defaultpaperSizeId As CrystalDecisions.Shared.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize) As Integer
Dim settings As Printing.PrinterSettings = defaultPrinterSettings
Dim result As Integer = defaultpaperSizeId
If settings Is Nothing Then
settings = New Printing.PrinterSettings
End If
If Not String.IsNullOrEmpty(paperSizeName) Then
For Each size As Printing.PaperSize In settings.PaperSizes
' Height and Width in Printing.PaperSize is measure in hundredths of an inch
If size.PaperName.EqualsTo(paperSizeName) Then
result = size.RawKind
Exit For
End If
Next
End If
Return result
End Function
Setting the PrintOptions.PaperSize and PageOrientation seem like no effect on the viewer. My code to load the report to CR viewer is much more complicated than the code I show above, I've a background worker thread to download the report, and when the worker thread finished download the report from the server, it will assign the report to CRViewer. Do the changes in report PrintOption before assign to CRViewe and after assigning to CRViewer make any different?
I'm using VS2010, CR XI R2 (Version 11.5.3700.0). Please Help. Thanks
Regards
JC VoonHi JC,
CRXI R2 is a no go with VS 2010, these two are not compatible.
With CR 11.5 use VS 2005.
Or Use VS 2010 and CR for VS 2010 (13.0)
Once you have the supported / compatible conbination of CR and VS, use the In Proc RAS .NET code from below KBA.
http://search.sap.com/notes?id=0001561333&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031353631333333
Also, see the KBAs returned by below search. The top right corner search box on this page is quite helpful.
http://search.sap.com/ui/scn#query=crystal%252C+paper%252C+orientation%252C+.net%252C+sdk&startindex=1&filter=scm_a_site(scm_v_Site11)&filter=scm_a_modDate(*)&timeScope=all
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications. -
AllinOne.js[dynamic] error while zooming and navigating to next page
hi..
i'm using crystal report 13 and vs2010 in 32 bit OS
reports are working fine but when i click to next page
or zoom or find a word then
the allinOne.js[dynamic] file opens
and shows the below error..
Microsoft JScript runtime error: 'children.length' is null or not an object
and the following is error in file
A=G.children.length; it is showing A is undefined.
what to do .. i dont know i'm confused..I think we have the same or a similar problem. We converted
our solution from Crystal Reports XI to Crystal Reports VS2010. To view the report
we use the CrystalReportViewer on a web form (aspx file with code behind).
Everything (except the known issue with the blank viewer on first use) is ok
with IE9 but with IE7 and IE8 export and zoom are not working. When I click on
zoom e.g. 125% the internet tools shows SCRIPT1032: Invalid Character, if I
click on export it is not possible to select an export file format other than
the selected one internet tools show errors SCRIPT13: Type Mismatch ‘return’
and SCRIPT1032: Invalid Character.
Problems with Zoom and Export
Error on zoom
Error on export
We need at least IE8 support for Windows XP, our software only supports Internet Explorer, so other browsers are no alternative.
Any help regarding these issues is really appreciated. -
List of apps will not go to next page
I found a small bug, when I am viewing a list of all the apps in a category, I am unable to go to the next page.
Such as all the free apps in the Food category (in the iTunes appstore).
At the bottom of the page is a next button and numbers of the next pages, when I click on any of those it takes me to the top of the page but does not show any new apps. I think there is a problem with the javascript used under the hood.
I have the latest version of iTunes (10.7) and Lion.
This is not a huge problem, just trying to report a bug.same bug in OS X 10.8.2 and iTunes 10.7
-
Can Grow Vertical Alignment Error in Embedded Report View, but not in .PDF
Hello,
I have seen postings about this issue before, but have yet to find a solution.
I am using Visual Studio 2008 w/ the basic version of Crystal Reports that is included.
I have a simple report that displays results of a stored procedure as rows across the report. One field can be of variable length, anywhere from 0 to 100 characters. Usually it's something reasonable (less than 40 chars), and so I have only given it so much width in the report. For when it is longer than that, I turned the "Can Grow" property ON, and set the Maximum Number of Lines property to 0.
When the report displays embedded in my Web Form, and this field's data is wider than the space I have allowed, it breaks the data down into multiple lines of the same correct width, as you'd expect, but those lines end up displaced vertically upward several rows, and print directly on top of other data from the above rows, make the report unreadable in that area (and quite ugly overall!).
If I export this report to a .PDF, it displays perfectly, without the vertical displacement error.
Anyone know what the official work is on this? Is there a fix or is this a bug?
If there is no fix, does anyone know how to direct the report to the .PDF file viewer, so the embedded report remains invisible (and thus hides the ugly error), but the user has the .PDF version to see? My client ultimately wants to export the report to .PDF, which I have already coded, but it does not open the .PDF Viewer, just saves the report to disk. However, if I use the Crystal built-in Export button, it first displays a pop-up asking which format to export to, then if .PDF is chosen and okay is clicked, the pop-up switches to contain the .PDF Viewer, and opens the report. In my user-defined export code, the .PDF is correctly created, but I am missing the step on how to open the .PDF Viewer.
Any ideas?Thanks for the responses.
Jonathan, moving the field in question to its own details section (details B) did not fix the issue. The field in question is moved slightly down as its in a new details section with sits slightly lower than details A, but when it has to be broken up into multiple lines, the same issue arises, the field text is displaced vertically upward and sits on top of other data.
Ludek, I wanted to send the report to a .PDF Viewer in a new browser, and keep the original browser intact. I'm using code very similar to yours. To launch the new broswer I added this code to the Page_Load of my main browser:
btnViewReport.Attributes.Add("onclick", "window.open(Page.aspx', """", """", 'height=200,width=400')")
When the button is clicked the report is exported, and the new browser opens Page.aspx.
I use this code in Page_Load of Page.aspx:
Dim webClient As System.Net.WebClient = New System.Net.WebClient()
Dim buffer As Byte() = webClient.DownloadData("C:\Reports\Report.pdf")
If Not buffer.Length.Equals(0) Then
Response.ContentType = "application/pdf"
Response.AddHeader("content-length", buffer.Length.ToString())
Response.BinaryWrite(buffer)
End If
Any other ideas on the original vertical displacement issue when using Can Grow, I'd still appreciate it.
Thanks,
Scott
Edited by: Scott Deltorto on Sep 23, 2008 10:15 PM -
Crystal Report Viewer is not appearing after hosting on server
Dear Friends
I developed a web application in Visual Studio 2010, and my Database is SQL Server 2008 R2.
I created reports using Crystal Report 13 in Visual Studio and my Operating System is Windows 7 32-Bit.
All reports are running fine at my machine.
When I copied published folder into "wwwroot" folder and hosted, all reports are working Good.
Here i have my web application in "Default Web Sites" in IIS.
Then After I added a new website in IIS with a port No. and created a virtual folder and hosted my web application.
The application is running fine, But the problem is Reports are not appearing on Web Page.
I have created an toolbar to export the report. And when I am exporting the report to PDF, It is working well and reports are exported successfully.
I didn't understand why this is happening?
Is this a problem of port no. ?
or
Is this a problem of IIS?
or
Is this a problem of Browser?
or
Is this a problem with CrystalReportViewer?
or
something else?
In fact I have the folder for "C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13". for crystal reports.
Dear All kindly help me in this issue, it is disturbing me since 5 days.
All helps are appreciable.
Thank you.Enter the following:
viewer blank net crystal
into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Report Viewer WebPart in SPD - Missing required page header
Hi,
I seem to be getting the following error when adding the Report Viewer webpart to a minimal masterpage in SPD:
Error Rendering Control - Unnamed 1 Missing Required Page Header
If I create a page through the IE browser on the SharePoint then I can add the Report Viewer webpart. However when I then go to view that page in SPD - again I get the above message.
This is truely irritating ....
Thanks - SteveLooks like a bug in sharepoint or some other design-time quirk in SPD. The code in the report viewer webpart (v11.0) that throws the exception is:
public static void RegisterCss(Page page)
if (page.Header == null)
throw new Exception("Missing required page header");
HtmlLink child = new HtmlLink {
Href = StyleSheetLink
child.Attributes.Add("rel", "stylesheet");
child.Attributes.Add("type", "text/css");
page.Header.Controls.Add(child);
...so it appears that SPD is not fully instantiating the master page, or otherwise partially executing it. The Header property on Page should be populated with a HtmlHead instance, which is a reference to the head tag in the master page (which must have
runat=server on it.) For me, the master page is fine -- this is why it still works when adding it via the web ui directly in the browser. When it's put through the design-time grinder in SPD, this property is null. I would presume that this is either a bug
in the webpart, or a failing in SPD.
I'm running sharepoint server 2010/sp2 and SPD 2010/sp2/x86, for what it's worth.
Maybe you are looking for
-
How do i put names in email attachments
How can i put email address in attachments
-
Copy and paste Values from Numbers to Pages
When I do simple copy and paste content from Numbers to Pages, I get a formula error message. All I want to copy and paste the values only, not the formulas, but on pages I cannot find a way to paste values only. When it tries to paste formula, it er
-
Is Mac MINI support WOL after shutdown completely
In PC environment,when the computer completely shutdown but connecting the power ,the lan card still have signal so that we can use the magic packet wake up Is Mac MINI support WOL after shutdown completely?
-
Functional specification document
I have a requirement where i need to prepare functional specification document, could any one help me out with any fsd template on the same? format required ( any example document will be an added advantage)
-
Error -6636 when create a TDMS file
I use the following function to create a TDMS file. I got the error information. What is the problem? I did add the tdms extension name. TDMS_CreateFileEx ("filePath", TDMS_Streaming2_0, TDMS_ByteOrderLittleEndian, 0, "DAQ Test", "My TDMS Test execis