Telerik Forums
Reporting Forum
1 answer
137 views
I tried installing the latest report msi (also tried via the control panel) on Win8 and VS2012 pro. Both failed, the control panel said that .net 2 was needed. Any eta for when this will be ready for vs2012?

Robert
Steve
Telerik team
 answered on 04 Sep 2012
2 answers
146 views
I have created telerik report  and it repeats same chart  in 7 times.

Here for x axis,I have 7 diffrent values.Do you have any idea to solve this?
Gunasekar
Top achievements
Rank 1
 answered on 04 Sep 2012
1 answer
153 views
I've looked around on the docs and threads, but I can't seem to figure out the best way to get data from a WCF webservice with parameters.  Of note, I'm using silverlight and can't bind my data to the report.

I create a Objectdatasource and it maps my return object ok when I add a service reference.  But I don't see how to add parameters to my  WCF webservice?

The examples I've seen only show web services with no parameters.

Do I need to do a binding for the datasource and then call my webservice in that?
        public static ObjectDataSource ChangeConnectionString(object reportItem)
        {
            var report = (reportItem as Telerik.Reporting.Processing.Report);
            var dataSource = (Telerik.Reporting.ObjectDataSource)report.DataSource;
MyService.MyClient client = ...
client.GetMyData(str1,str1);
//How do I bind it to my datasource?
return datasource;???


Or do I add parameters like this:
objectDataSource.Parameters.Add(new Telerik.Reporting.ObjectDataSourceParameter("productModelID", typeof(int), 23));

Are the parameters in quotes supposed to match the parmeters of the webservice?
Elian
Telerik team
 answered on 03 Sep 2012
3 answers
77 views
Let's say I have a report that contains a table, and a bar chart and a pie chart. Is it possible for me to render each item separately?

The reason I'm asking is so that a user can choose which tables and charts to include in a report.

Thanks

PS: This is for ASP.NET
IvanY
Telerik team
 answered on 03 Sep 2012
1 answer
146 views
I have created a report that gets processed at run time (there's almost nothing in the designer).
We allow our users to configure how data is grouped in the report (fieldText is the name of a column in the DataTable the report is bound to).
The trouble is, I get separate groups for "Washington" and "washington".
Is there a way to have that Grouping be case insensitive?
Thank you.


Here is the code:
string expr = string.Format("Fields.{0}", fieldText);
 
myGroup.Groupings.AddRange(new Telerik.Reporting.Grouping[]
{
    new Telerik.Reporting.Grouping(expr))
});
Elian
Telerik team
 answered on 03 Sep 2012
3 answers
144 views
I created the report using Telerik reporting and Object Data Source. The report is shown on Web using Telerik Report Viewer. It works fine from Visual Studio in IE. After deployment it works in Google Chrome, but does not work in IE 9 (version 9.0.8112). The Report Viewer shows error : Report is unavailable or session has expired
The cookies are enabled and the security level is low.

Lily Polenov


 


Steve
Telerik team
 answered on 03 Sep 2012
1 answer
151 views
Hi,

I am dynamically builting a query in sql server based on the parameters from the main report and running the subreport for every item in the same groups resulting in Subreport not showing data.
But when i run the subreport seperatly with the same set of parameters but for single item in a group i get data.

I am thinking that it might be due to timeout in the report.I have change the command timout but still sub report does not return any data for 2 grouping scenarion but rest of the two sub report generates data.

Can you please help me or assit me how to fix this issue.
Chavdar
Telerik team
 answered on 03 Sep 2012
3 answers
177 views
I switched on loggin on my devenv so that I can trace some of the errors that I received. 

I noticed that I get this error very often:
"*** ProcessReport #0 STARTED ***
ESS: Failed to load ExternalStyleSheet with resource name Styles\ReportStyleSheet.xml from assembly, because Telerik.Reporting.Design.VisualStudio.ResourceResolutionService did not provide an assembly to search in."

The file exists and the style sheet is applied to the report without any problems.

Should I be worried about this error?

Thank you

Jaco
Jaco Hamilton-Attwell
Top achievements
Rank 1
 answered on 03 Sep 2012
3 answers
423 views
Hi i'm trying to make a report with some functions on it, but i need the field value and two report parameters (date from, date to), but it always gives to me this error when i run it

An error has ocuured while processing TextBox 'asistenciasDataTextBox':
The expression contains undefined function call Asistencias().


I double checked and i have that function in my class, here it is

public static string Asistencias(string cedula, DateTime desde, DateTime hasta)
        {
            string WDcon = ConfigurationManager.ConnectionStrings["WindowsFormsApplication2.Properties.Settings.DBGriauleConnectionString"].ConnectionString;
            //Llamo la conexion SQL
            SqlConnection Wdcon_usuario = new SqlConnection(WDcon);
            SqlCommand usuario = new SqlCommand();
            SqlDataReader usuarioDR = null;
            //Instancio la conexion SQL
            usuario.Connection = Wdcon_usuario;
 
            //Registro el Query SQL
            usuario.CommandText = "SELECT COUNT(*) AS Expr1 FROM asistencias WHERE (ID = @cedula) AND (asistio = 1) AND (fecha >= @desde) AND (fecha <= @hasta)";
            usuario.Parameters.AddWithValue("@cedula", cedula);
            usuario.Parameters.AddWithValue("@desde", desde);
            usuario.Parameters.AddWithValue("@hasta", hasta);
 
            //Abro la conexion
            Wdcon_usuario.Open();
 
            //Ejecuto la consulta
            usuarioDR = usuario.ExecuteReader();
            int respuesta = 0;
 
            while (usuarioDR.Read())
            {
                respuesta = (int)usuarioDR["Expr1"];
            }
 
            Wdcon_usuario.Close();
            return respuesta.ToString();
        }
 
And changed the Field Value, when i run it, it doesn't work, is something wrong???

= WindowsFormsApplication2.Funciones.Asistencias(Fields.Asistencias, Parameters.DESDE.Value, Parameters.HASTA.Value)
Steve
Telerik team
 answered on 03 Sep 2012
1 answer
154 views
Hi,

I'm currently evaluating your reporting product, for ASP.NET Webforms, and have a few of questions:
(Just one question now:)

1. When designing a report, is it possible to initialize a multvalue parameter with multiple values? I can do this at run-time using an array but I can't see how to do it at design-time.

ETA: Ignore 2, 3 and 4, I have the answers.

2. Is it possible to specify the delimiter for the .csv export? If not, is there an event I can handle when the export is complete so that I can change the delimiter of the saved file?
[The delimiter can either be set in web.config or using the deviceinfo when exporting programatically
See: http://www.telerik.com/help/reporting/programmatic-exporting-report.html]
See; http://www.telerik.com/help/reporting/device-information-settings-csv.html]

2. Is it possible to specify the delimiter for the .csv export? If not, is there an event I can handle when the export is complete so that I can change the delimiter of the saved file?

3. The client has a requirement to allow users to create a report based on _parts_ of other reports. I see that the subreport fits the bill for combining multiple full reports together. My first thought would be to present the user with a treeview of the type and name all the report parts - header, charts, tables etc. They would then check if they wanted a part included in the subreport. For all unchecked parts, I would changed the Visible property to false. Is this the best way to approach?

4. I saw elsewhere on the forum a solution for dynamically hiding columns in a report. The solution used a Crosstab. Is it also possible to do it with a Table?

Thanks
Elian
Telerik team
 answered on 03 Sep 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?