Telerik Forums
Reporting Forum
1 answer
231 views
Hi,

 I trying create a simple crosstab report, but I have a litle dificult.

I get datasource programally, and set da dataset into the datasource report.

In design mode I added a crosstab object and linked to the database column, but it´s don´t go. If I take just a textbox
with out a crosstab I can see the data.

The error is

An error has occured while processing TextBox 'textBox7':
Referência de objeto não definida para uma instância de um objeto.

My oracle procedure return this

ID_Client    ID_Cource     Cource_Name         ID_Question         Question_Name            Question_Value
381             401                TESTE - TESTE    1                            AVALIAÇÃO GERAL    20,03
381             401                 TESTE - TESTE   2                            RESULTADOS             7,00
402             222                 720 - KARAKA      1                            AVALIAÇÃO GERAL    28,39
402             222                 720 - KARAKA      2                             RESULTADOS            7,59

I want make that ID_Cource is the row group and the ID_Question is the Column group, I need in the final result
same things like this

                             Question_Name 1     Question_Name 2 ...
Cource Name        Value                        Value

By the Data in the example

                                     AVALIAÇÃO GERAL              RESULTADOS
TESTE - TESTE                          20,03                                7,00
720 - KARAKA                             28,39                                7,59


Someone can help me?

Thanks,
Steve
Telerik team
 answered on 16 Apr 2009
3 answers
110 views
Hi there
   I just want to report a bug i experienced to telerik team. When using Telerik Reporting Chart Control, visiting the Properties dialog box and get into the Lables,Legent & Title, if the Series dropdown value is changed the Chart Build dialog is closed abrubtly.

Software Configuration
Visual Studio 2008
Telerik Reporting Q1 2009 trail
Windows XP OS
Steve
Telerik team
 answered on 16 Apr 2009
1 answer
642 views
Hi There
   I'm having a datatable prepared from the business layer and i need to use that for report parameters. But i am having hard time binding a column in that parameter.

Consider that i want to bind the (ProductId, ProductName) first & second column of the datatable to this report parameter and i want it to show all the row data as a multi value
public RegistrationSummaryReport() 
{
InitializeComponent();
            DataView source = getDataSource();  
            this.DataSource = source;            
            ReportParameter param = new ReportParameter(); 
            param.Name = "paramEP"
            param.Type = Telerik.Reporting.ReportParameterType.String; 
            param.UI.AvailableValues.DataSource = source
            param.UI.AvailableValues.ValueMember = "=Fields.ProductId"
            param.UI.AvailableValues.DisplayMember = "=Fields.ProductName"
            param.UI.MultiValue = true
            param.UI.Visible = true
            this.ReportParameters.Add(param); 

But as soon as i add this binding, and while executing the report gets empty and not even shows the rest of the report and when i remove the parameter addition and just binds the report and render all the data

I tried a work around to show the dropdown parameter in report viewer by doing the below code snippet instead.
public RegistrationSummaryReport() 
        {
InitializeComponent();
            DataView source = getDataSource();  
            this.DataSource = source
 
            List<string> eps = new List<string>(); 
            foreach (DataRowView dr in source) 
               eps.Add(DataUtility.MakeNullEmpty(dr["ProductName"])); 
             
            ReportParameter param = new ReportParameter(); 
            param.Name = "paramEP"
            param.Type = Telerik.Reporting.ReportParameterType.String;           
            param.UI.MultiValue = true
            param.UI.Visible = true
            param.Value = eps
            this.ReportParameters.Add(param); 

And now it shows the report and also the report parameter dropdown but with all the product name separated by semicolon in the value as it is coded to set as value (not as datasource) but i can only edit them but instead i want it to be a set of checkbox in the pulldown box of dropdown so that user can easily select them (as it would appear when i assign the datasource in design time).

Software Details
  • Windows XP sp2
  • Telerik Reporting Q1 2009
  • Visual Studio 2008

Please guide me a way to assign datasource to parameters dynamically. Thanks in advance. I greatly appreciate a sooner response.

Steve
Telerik team
 answered on 16 Apr 2009
5 answers
253 views
Will the release version support Medium/Partial trust?

Thanks,

Brian
Steve
Telerik team
 answered on 16 Apr 2009
3 answers
142 views
I'm using Asp.Net AJAX UI controls to display a RadGrid on a page with a ReportViewer underneath.  When the user selects a row in the RadGrid I want to capture the ID field from the selcted row and update the ReportViewer by passing that same ID to the newly instantiated report.

Has anyone done anything like this?

I can capture the needed ID from the client-side of the RadGrid, but I can only update the ReportViewer on the server-side.  I guess if I knew how to capture the RadGrid selected row on the server-side I could manage just fine.
Carla Lewis
Top achievements
Rank 2
 answered on 15 Apr 2009
1 answer
195 views
i set up a new development machine and now i am getting the following error when i try to open the design view of a report:

Value cannot be null. Parameter name: instance

the sources, assemblies and web.config is all the same as on the other machine where it works.
i tried to rebuild the project, restart VS2008 but nothing helps.

any hint would be highly appreciated
regards



Ibrahim Imam
Top achievements
Rank 1
 answered on 15 Apr 2009
5 answers
287 views

Viewer is not showing up Parameters if div is initially set display = none

 

<div id="divCameras" style="display: none;"> 
        
        <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="100%"   
            Width="100%" > 
        </telerik:ReportViewer> 
    </div> 

 

 

 

Steve
Telerik team
 answered on 14 Apr 2009
3 answers
105 views
Hi,

I'm getting an exception when I close the form containing a report viewer,
while it's generating the report.
On slow machines, the generating of the report can take some time,
and users might close the form before the generation is completed.

How should that exception be handled ?

Thanks,
Steve
Telerik team
 answered on 14 Apr 2009
1 answer
204 views
Hello,
         I had used report viewer in Telerik:Popup control,
         I have bound data to report viewer through data source with wizard.
         But, it takes too muck time to load the data in the report viewer.     

         Please reply me as soon as possible.

         Is there any problem with the use of report viewer in Pop Up
         or it can be problem with the use of data source, as i bring data from many tables with the use of inner join.
  
Thanks,

Steve
Telerik team
 answered on 13 Apr 2009
1 answer
135 views
Hi team:
      I have set the report to page break,and show well in aspx web page,but after export to excel all the data show in one sheet,I think the data should come on a different sheet. Example Sheet1, Sheet 2,etc Any ideas.

thanks
tommy

Steve
Telerik team
 answered on 13 Apr 2009
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?