Telerik Forums
Reporting Forum
3 answers
300 views
Hello,

I want to allow the user to use the Telerik's RadGridView control to query a list of objects using the control's filters. I then want to send the user filtered list to a Telerik report. What would be the best way to achieve this?

Thank you,

Ricky
Hadib Ahmabi
Top achievements
Rank 1
 answered on 28 Feb 2012
1 answer
175 views
Can someone explains how to work with bookmarks in telerik. I wanna fill table with data or textbox with data, I know that you can do that with setting a Bookmark ID - place bookmark and than programmatic add value for it. I did n find proper explanation for how to use bookmarks so if anyone can help me and explain a usage of Bookmarks will really help me!

Thanks for response

Jani
Hadib Ahmabi
Top achievements
Rank 1
 answered on 28 Feb 2012
1 answer
133 views
Hi Sir,

We recently installed Telerik_Reporting_Q1_2012_v6_0_12_215_Dev and RadControls_for_WPF_2012_1_0215_Dev in our system when i am trying to add reporting template its getting error like "object reference not set to an instance of object" i attached screen shots please check it out..


system specifications :visual studio 2008 professional , .Net Framework 3.5 sp1
os: windows XP professional  2002 service pack 2,VB.Net
sql server 2008.



Thanking you ..
Steve
Telerik team
 answered on 28 Feb 2012
1 answer
117 views
I've applied a custom skin to my webreportviewer using a couple of examples found in the forums here but I would like to know how to apply a skin to the export combobox.  I'd like to be able to convert it to the RadCombobox if possible.

I've already tried using the example of hiding the webreportviewer and adding a custom toolbar but that's really not the easiest option because my viewer is inside a RadPane and the scrollbars get messed up.  I'd much rather just be able to skin the viewer itself.

thanks
Steve
Telerik team
 answered on 27 Feb 2012
1 answer
101 views
Hello,

Is there a graceful way (through the UI or code) to remove the numbers that are on the plot area? I can't seem to figure it out.
Elian
Telerik team
 answered on 27 Feb 2012
3 answers
209 views
Good day all:

I've built a web application over a year ago, and it's been working like a charm.  All of a sudden, as in last week, users (including myself now) cannot print multiple copies of a report without either IE crashing, or Adobe; depending on how we choose to view the report.  Literally nothing has been touched with the application, so I'm fearing it's something with the Adobe plus-in, but if that's the case, I'm still lost, and... it's only affecting PDF's that are created using the Telerik Report export function.  Here's what's happening:

A: User runs a report, and then clicks the 'print' icon with the telerik report tool bar, and select 'open' (vs. save).  If they simply want one copy, all's well.  If they choose multiple copies (mostly the case), users get an error that IE is crashing.  It crashes.
B: User runs a report, and then exports the report to a PDF.  Saves it.  Goes through the same process above of printing multiple, and user gets error that Adobe is crashing.  IE stays put in this case.

I'm lost.  Every other PDF not created using the Telerik export function works fine, so that's why I'm assuming it has to be some combo of of the Reporting plug-in... and something else.  Pulling at straws.  Has anyone else every had this happen?

TL
IvanY
Telerik team
 answered on 27 Feb 2012
5 answers
219 views
Hello,

I have a problem when I try to show some data on a Line Chart.

I have attached one image with both Data and Line Chart.

As you can see, the green line is not correct because its three values are located on the first three points (Mar'11, May'11 and Jul'11), and must be located on second, third, an sixth respectively (May'11 Jul'11 and Ene'12) as it is shown on Data Table.

The SQL source for this Chart is this:

ES00000120S9     
09/03/2011 0:00:00     
Mar'11     
36,9388000000        
20/02/2012
ES00000120S9 09/05/2011 0:00:00 May'11 38,3738000000 20/02/2012
ES00000120S9 11/07/2011 0:00:00 Jul'11 41,0802000000 20/02/2012
ES00000120S9 09/09/2011 0:00:00 Sep'11 47,0580000000 20/02/2012
ES00000120S9 09/11/2011 0:00:00 Nov'11 51,5185000000 21/02/2012
ES00000120S9 09/01/2012 0:00:00 Ene'12 52,7473000000 21/02/2012
ES00000121J6 09/03/2011 0:00:00 Mar'11 94,4507000000 20/02/2012
ES00000121J6 09/05/2011 0:00:00 May'11 94,7643000000 20/02/2012
ES00000121J6 11/07/2011 0:00:00 Jul'11 95,7689000000 20/02/2012
ES00000121J6 09/09/2011 0:00:00 Sep'11 97,2266000000 20/02/2012
ES00000121J6 09/11/2011 0:00:00 Nov'11 97,1023000000 21/02/2012
ES00000121J6 09/01/2012 0:00:00 Ene'12 97,4383000000 21/02/2012
ES00000121T5 09/05/2011 0:00:00 May'11 100,0459000000 20/02/2012
ES00000121T5 11/07/2011 0:00:00 Jul'11 100,4433000000 20/02/2012
ES00000121T5 09/01/2012 0:00:00 Ene'12 383,3258000000 21/02/2012

The last three values are located on Mar'11, May'11 and Jul'11 on chart.

I don't know how to fix it.

Is there any solution?

Thank you very much.

Elian
Telerik team
 answered on 27 Feb 2012
3 answers
268 views
I have a ReportService.svc that is called from clients that are either passing credentials using Windows or Basic auth depending on their browser.  How can I support both Windows and Basic auth calls to the ReportService.svc from Telerik Reporting for Silverlight?

<basicHttpBinding>
    <binding name="basicBinding">
        <security mode="TransportCredentialOnly">
            <transport clientCredentialType="Windows" />
        </security>
    </binding>
</basicHttpBinding>

IvanY
Telerik team
 answered on 27 Feb 2012
8 answers
2.1K+ views
Hi,
I have report which has conditional formatting based on clientId. if the clientid is some x, I need to hide some controls. But when I hide these controls, right side controls are moving to left and bottom controls moving to top. How can I fix control's position with out considering other controls visibility. Please help on this.
Steve
Telerik team
 answered on 27 Feb 2012
1 answer
155 views
I get an error(in the designer preview) that reads "An error has occured while processing Report 'MyReport': Unable to cast the type 'System.Nullable '1' to type 'System.Object'. LINQ to Entities only supports casting Entity Data Model primitive types."

I know that this has to do with the datasource I'm choosing to use. I'm 'extending' the model's Entity partial class with a method that should return an enumerable collection of classes that contain my data that I pulled from the model with LINQ. Sort of like the code that is given here: http://www.telerik.com/ClientsFiles/311739_EntityFrameworkDemo.zip

Here's the method I'm using to get data:
public partial class MyDataModelEntities
    {
        public IEnumerable<SessioinReportData> QuerySessionReport()
        {
            var query = from user in this.users
                        from session in this.sessions
                        where user.id.Equals(session.assigned_user_id)
                        select new SessioinReportData
                        {
                            CreatedBy = user.user_name ?? "",
                            SessionType = session.session_type ?? "Unknown",
                            DateEntered = (session.date_entered != null ? session.date_entered.Value.ToString("MM/dd/yyyy") : "n/a"),
                            NumericID = session.numeric_id,
                            Status = session.status
                        };
            return query;
        }
         
    }
 
    /// <summary>
    /// This contains data needed for the report
    /// </summary>
    public class SessioinReportData
    {
        public string CreatedBy { get; set; }
        public string SessionType { get; set; }
        public string DateEntered { get; set; }
        public int NumericID { get; set; }
        public string Status { get; set; }
         
    }

Here's the code for one of the entity objects that I'm using:
namespace MyProject.Web.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;
 
    // The MetadataTypeAttribute identifies sessionMetadata as the class
    // that carries additional metadata for the session class.
    [MetadataTypeAttribute(typeof(session.sessionMetadata))]
    public partial class session
    {
        internal sealed class sessionMetadata
        {
 
            // Metadata classes are not meant to be instantiated.
            private sessionMetadata()
            {
            }
 
            public Nullable<Guid> assigned_user_id { get; set; }
 
            public Nullable<bool> confirm_flag { get; set; }
 
            public Nullable<Guid> created_by { get; set; }
 
            public Nullable<DateTime> date_end { get; set; }
 
            public Nullable<DateTime> date_entered { get; set; }
 
            public Nullable<DateTime> date_modified { get; set; }
 
            public Nullable<DateTime> date_start { get; set; }
 
            public Guid id { get; set; }
 
            public Nullable<Guid> modified_user_id { get; set; }
 
            public string notes { get; set; }
 
            public Nullable<Guid> parent_id { get; set; }
 
            public string session_type { get; set; }
 
            public string status { get; set; }
        }
    }
}

I've tried adjusting for the Nullable types in a dew different ways. Nothing seems to work. If you don't know of any suggestions on how to fix this, at least tell me what you think the problem lies with.
Hrisi
Telerik team
 answered on 27 Feb 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?