Telerik Forums
Reporting Forum
3 answers
186 views

Hi all

Is there a possibility to add a dropshadow to an image in a report?
Like doing it with CSS? For an example how I do it in CSS see the link below
http://www.alistapart.com/articles/cssdropshadows

Regards
Joffrey
Steve
Telerik team
 answered on 26 Aug 2008
1 answer
270 views
Hi!

We have a complex scenario where it's necessary to programmatically create the reports. This is the typical scenario of building the report:

1. The report layout and properties are set.
2. Report items are added to the report, e.g. a Chart.
3. The properties of the Chart is set and since we are binding to a dataset of unknown contents we register to the NeedDataSource event.
4. The NeedDataSource event is triggered and the datasource is set.
5. The Report is displayed in the ReportViewer.

Here's my question: We need to specifiy properties for the series created after the report items have been databound, e.g. DefaulLabelValue/DataLabelsColumn etc.. We've tried setting these values by looping through the ChartSeries collection in the ItemDataBound event but without any success.

How do you suggest this is done?

Regards
Linus
Chavdar
Telerik team
 answered on 26 Aug 2008
3 answers
145 views
I am researching asp.net controls for reporting. I am looking for a control that will allow me to set a different style for print, even a different layout.
I haven't downloaded the trial because I am only a designer and do not have the programming skills involved. I am simply doing the research into this control.
So if anyone could lead me to some documentation on how to do this if even possible that would be great.
I know you can create and export/import styles for different reports, but in one report basically I have a web style and a print style.

Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2008
3 answers
118 views
Hi,

I am using RadEditor -  Namespace="Telerik.SharePoint.FieldEditor" Assembly="RadEditorSharePoint, Version=4.5.1.0.

I wanted to diplay my own Css classes which i have in a test.css file in the Apply CSS Class of a Rad Editor. But i dont fine any CssFiles property.

RadEditor.CssFiles is not found. I have a property called CssClasses. How can i use this.

If  I am using that its throwing an error saying 'CssFiles property not found'. Please suggest the right way to approach and resolve my issue.

Regards,
Raj.
Rumen
Telerik team
 answered on 25 Aug 2008
1 answer
129 views
Are cross tabs available in the Q2 2008 version of Telerik Reporting? If not, when do you see them being available?
Steve
Telerik team
 answered on 25 Aug 2008
2 answers
150 views
Hi, I create a project with two report's.
One report (the master) contains tabular data and another report (the subreport) with only the Chart.

The problem:
When I run the main report the first time, the tabular data on master report and the chart in subreport shows correctly.

But if I change the parameters on the mater report, only a data in a master report is correctly refresh. The chart of subreport stay with first values. I try copy the Chart to master report without success.

I use a Chart with NeedDatasource event.

My Business with Dataset for Report and Chart Datasource
    public static class BusinessParameters 
    { 
        public static ReportParameter DataInicial { getset; } 
        public static ReportParameter DataFinal { getset; } 
        public static Datasets.DSEnvioRepresentante DSEnvioRepresentante { getset; } 
 
        public static Boolean ParamsOK() 
        { 
            return (DataInicial != null) && 
                   (DataFinal != null) && 
                   (DataInicial.Value != null) && 
                   (DataFinal.Value != null) && 
                   (!String.IsNullOrEmpty(DataInicial.Value.ToString())) && 
                   (!String.IsNullOrEmpty(DataFinal.Value.ToString())); 
        } 
    } 


My Report with Chart (without subreport)
    /// <summary> 
    /// Summary description for EnvioPorRepresentanteA. 
    /// </summary> 
    ///  
    [Description("Envios por Representantes")] 
    public partial class EnvioPorRepresentante : DCReport 
    { 
        public EnvioPorRepresentante() 
        { 
            /// <summary> 
            /// Required for telerik Reporting designer support 
            /// </summary> 
            InitializeComponent(); 
 
            // 
            // TODO: Add any constructor code after InitializeComponent call 
            // 
            this.Visivel = true
            BLL.BusinessParameters.DSEnvioRepresentante = new DocumentCenter.Reports.Datasets.DSEnvioRepresentante(); 
        } 
        private void BindData() 
        { 
            BLL.BusinessParameters.DataInicial = this.ReportParameters[0]; 
            BLL.BusinessParameters.DataFinal = this.ReportParameters[1]; 
            if (BLL.BusinessParameters.ParamsOK()) 
            { 
 
                Datasets.DSEnvioRepresentanteTableAdapters.EnviosPorRepresentanteTableAdapter taEnvioRepresentante = new DocumentCenter.Reports.Datasets.DSEnvioRepresentanteTableAdapters.EnviosPorRepresentanteTableAdapter(); 
                taEnvioRepresentante.ClearBeforeFill = true
                taEnvioRepresentante.FillByData(BLL.BusinessParameters.DSEnvioRepresentante.EnviosPorRepresentante, Convert.ToDateTime(BLL.BusinessParameters.DataInicial.Value), Convert.ToDateTime(BLL.BusinessParameters.DataFinal.Value)); 
            } 
            else 
            { 
                Datasets.DSEnvioRepresentanteTableAdapters.EnviosPorRepresentanteTableAdapter taEnvioRepresentante = new DocumentCenter.Reports.Datasets.DSEnvioRepresentanteTableAdapters.EnviosPorRepresentanteTableAdapter(); 
                taEnvioRepresentante.ClearBeforeFill = true
                taEnvioRepresentante.Fill(BLL.BusinessParameters.DSEnvioRepresentante.EnviosPorRepresentante); 
            } 
        } 
        private void EnvioPorRepresentante_NeedDataSource_1(object sender, System.EventArgs e) 
        { 
            BindData(); 
            (sender as Telerik.Reporting.Processing.Report).DataSource = BLL.BusinessParameters.DSEnvioRepresentante; 
            (sender as Telerik.Reporting.Processing.Report).DataMember = "EnviosPorRepresentante";             
        } 
 
        private void chart1_NeedDataSource(object sender, EventArgs e) 
        { 
            Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart; 
            chart.DataSource = BLL.BusinessParameters.DSEnvioRepresentante.EnviosPorRepresentante; 
        } 
    } 

Steve
Telerik team
 answered on 25 Aug 2008
1 answer
122 views
I upgraded to Q2 2008 and now the telerik reporting menu in VS2008 only shows Upgrade Wizard.
I ran through the upgrade wizard and re-started but it is still the only option in the menu, and when I add a new report I no longer get the report wizard.
Steve
Telerik team
 answered on 25 Aug 2008
1 answer
179 views
I have bundle.cs that inherits Report that contains a subreport
I have a print.aspx.cs that has an instance of reportviewer.
How can I find the subreport and assign the DataSource in print.aspx.cs?
We use WebServices which are only available in the print.aspx.cs file, otherwise I would have done everything in the bundle.cs file.

Thanks
 
Chavdar
Telerik team
 answered on 25 Aug 2008
3 answers
115 views
When I create a new report using the wizard and choose Label as the Report Type, I then enter what data columns to use and hit next.  This takes me to a screen labeled 'Choose a predefined Label layout'.  There are no options for me to choose.  What gives?
Steve
Telerik team
 answered on 25 Aug 2008
4 answers
116 views
I have a user fuction that is called in the detail lines with no problem, but when I call it from a group footer I get :
#ERROR# The expression contains undefined function call ConvertSecondsToString().

The experssion in the group footer is:
=ConvertSecondsToString(Sum(Fields.Duration))
the Expression in the Detail line is:
=ConvertSecondsToString(Fields.Duration)

Any Ideas?
Michael
Top achievements
Rank 1
 answered on 22 Aug 2008
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?