Telerik Forums
Reporting Forum
1 answer
193 views
I've been working with Telerik RadGrid, MasterTableView an I tried to export my data to Excel but with no success. The file is created and saved on my workstation but the file is not of "Excel" kind.

When I open the file it only contains HTML. Is this right? Excel says that the file is not of any correct Excel type!

Update: This error only occurs when you use "Excel Viewer" due to the fact that "Excel Viewer" can't convert the outputed HTML file to a "real" Excel formated document.

Is there anyway to get the output as a real Excel document not a invalid document in HTML?
Daniel
Telerik team
 answered on 17 Apr 2009
2 answers
115 views
Hi Telerik
   I just want to let you know my thought. I am using the Telerik Reporting Q1 2009 and trying to use the Report Parameters extensively. But doing so i come across a small bug, on using Multiple value parameters shown as a list of checkbox under a dropdown pulldown box. I made the selection for a bunch of data by checking them. When i go out of focus, the dropdown text shows my selection with semi-colon seperated and that's cool. By the way if i click the dropdown again it looks like it forgets all my selection and i got to do that again.

It will be nice if it remembers the selection made in the checkboxes if out of focus and it will be far better if it remembers that after the Preview has been clicked. Although its kind of remembers in the dropdown textbox (csv) but as soon i click on the dropdown everything wipes out.

Please let me know if you have done that for some purpose but i feel the usability is hard in that case.
Steve
Telerik team
 answered on 17 Apr 2009
1 answer
200 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
98 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
604 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
242 views
Will the release version support Medium/Partial trust?

Thanks,

Brian
Steve
Telerik team
 answered on 16 Apr 2009
3 answers
136 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
179 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
274 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
79 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
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?