Telerik Forums
Reporting Forum
1 answer
148 views

Using Telerik Report Designer v 6.2.13.110

Description: In the Telerik Report designer, in-line sub reports are displayed at the bottom of the design page. User can select a sub report, right-click to bring up a menu, and select “Edit Report…”. When selected, the following error message appears:


Attached error message image.

Clicking “Continue” closes the dialog box; the sub-report is not opened. Contents of Details are:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

   at Telerik.Reporting.Design.ReportDesigner.OnEditReport(Object sender, EventArgs e)

   at System.ComponentModel.Design.MenuCommand.Invoke()

   at Telerik.ReportDesigner.Packages.Design.VsMenuCommandService.MenuCommandToolStripMenuItem.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Any suggestions?
Steve
Telerik team
 answered on 18 Feb 2013
3 answers
513 views
Hello,

I'm struggling with a report group header that keeps showing alone in one page and the detail section in the other.
This is the report structure:
GroupHeader
     Header Info
Detail
    Text box
    SubReport

Footer is empty

The groupheader PrintOnEveryPage property is (must be) set to True.
The subreport doesn't always fit in one page and the text box may or may not be visible. What I would like is to have a way to keep the header together with at least some part of the detail section. (Keep together for the detail section is set to false as well as for the sub report.)

Is there any way to achieve this behaviour?

Thank you for your help!
Steve
Telerik team
 answered on 18 Feb 2013
5 answers
657 views
I noticed that since upgrading to Q2 2012 I have been unable to add new report to my projects.  I even went so far as to remove completely all Telerik components and reinstall them.

Upon deeper inspection it appears to be related to the fact that all of the telerik controls are missing from the "toolbox" of visual studio.  After I added the Telerik.Reporting namespace back to the toolbox the wizard started working again.

While this particular "failure" seems to be report related, why are we seeing all controls vanish from the VS 2010 environment?  I hesitate to blame you folks however its your product that is being "expunged" from the toolbox.  

I have tried all the "reset toolbox" commands.  Things show up then go away again.  I can manually add items to the toolbox however this seems to then require manual changes at the next quarters upgrades.

Even nuking everything does not seem to solve the vanishing telerik toolbox problems.

Steve
Telerik team
 answered on 18 Feb 2013
1 answer
73 views
Hello,

I am binding table of report to custom POCO class(Instead of DataSet) and manually assigning data to each cell.
But in that case "=Fields.ColumnName" expression does not work for column grouping and sorting.

What could be the solution for column grouping/sorting when we dont use DataSet and use data from list of POCO classes or Entities of Entity Framework?

Thanks very much,

Manish
Stef
Telerik team
 answered on 15 Feb 2013
8 answers
220 views
When I'm trying to install my WPF application on a computer that isn't my development PC, I get an error saying:
"Unable to install or run the applcation.  The application requires that assembly Telerik.ReportViewer.Wpf Version 6.2.12.1025 be installed in the Global Assembly Cache (GAC) first.

I looked and I made a change so that my reference of Telerik.ReportViewer.Wpf CopyLocal =True
but that didn't help.  I'm still getting this error.  It's probably something in my configuration I need to change.  Any suggestions?
danparker276
Top achievements
Rank 2
 answered on 14 Feb 2013
1 answer
155 views
I am new to Telerik Reporting and I am trying to find out if there exists a functionality to export a report to Excel and keep the ability to show hide columns/rows?

In looking at the inline demo for the product Sales demo as an example, I was wondering if I just haven't found how or just haven't found the correct search to find a forum post explaining how, showing if this is possible. I have heard it can be done in SQL Report Server but was just wondering if we have the functionality here in this tool set?

I have a customer that would be ecstatic if it can do this.

Thanks for any information you can provide.

Stef
Telerik team
 answered on 14 Feb 2013
10 answers
417 views
Hi,

i have a report parameter defined (Screenshot#1)
i want to set a Visible property of a subreport to whatever the user input at the visible report parameter.

i use the following code at the Master Report:
private void subReport1_ItemDataBound(object sender, EventArgs e)
{
            (sender as Telerik.Reporting.Processing.SubReport).Visible = (bool)this.ReportParameters["ShowField"].Value;
}

no matter what i do the Value of the parameter is always True, even if i don't give the parameter a value when i define it.
doesn't matter if i check or uncheck the checkbox of the parameter shown of the screen.

please can someone help me?

thanks.
Wadigzon
Top achievements
Rank 1
 answered on 14 Feb 2013
1 answer
63 views
Hi Team,


I have been facing an error as IReportDocument is Ambiguous in namespace 'Telerik.reporting' 

I have removed all my old versions and installed new Telerik reporting Q3 sp1 2012 after this change am getting this error.

Imports System.Collections.Generic
Imports Telerik.Reporting
 
Partial Class _Default
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
        Dim reportName As String = Server.UrlDecode(Me.Request.QueryString("ReportName"))
 
        If Not String.IsNullOrEmpty(reportName) Then
            Dim reportType As Type = Type.[GetType](reportName)
            Dim report As IReportDocument = DirectCast(Activator.CreateInstance(reportType), IReportDocument)
            Me.ReportViewer12.Report = report
            Me.Page.Title = reportType.Name
Steve
Telerik team
 answered on 14 Feb 2013
5 answers
890 views
Hello,
I have a textbox in pageheader that have an expression to fill it's value
and i have another textbox in GroupHeaderSection.
the expression is working fine in header, but in groupheadersection it don't get data correctly.
i am trying to set the value of second textbox to equal first textbox, but i am not able to do so.
it is always getting me the expression of the first textbox.

How can this be done ? and at what stage or time expression is evaluated ?
Steve
Telerik team
 answered on 14 Feb 2013
1 answer
581 views
Hello,
I'm new to telerik reporting and programming
Now i have problem about display image in report
this is my image path  http://xxxxxx/upload/Companies/Contact/Fields.CompID
/Fields.ContactImgPath

I try this article http://blogs.telerik.com/telerikreportingteam/posts/09-02-20/telerik-reporting-using-the-picturebox-item.aspx
it work If I put this function in PictureBox
= Format("http://xxxxxx/upload/Companies/Contact/7/{0}",Fields.ContactImgPath)
but number 7 it should be Fields.CompID from database like Fields.ContactImgPath
How i do?

PS. Sorry for my english


Maliwan
Top achievements
Rank 1
 answered on 14 Feb 2013
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?