Telerik Forums
Reporting Forum
1 answer
108 views
I am trying to upgrade to Q2 2012 but am getting some obsolete syntax errors (Warning 32 'Public Shared Widening Operator CType(report As Telerik.Reporting.Report) As Telerik.Reporting.ReportSource' is obsolete: 'The implicit Report to ReportSource conversion is obsolete. Please create InstanceReportSource instead.')
.
How do i correct this to use the create InstanceReportSource?

Me
.ProidersSubReport.ReportSource = Me.ReportFamiliesDetailProviderSub1
Steve
Telerik team
 answered on 04 Sep 2012
1 answer
158 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
162 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
216 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
129 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
174 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
190 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
177 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
220 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
468 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
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?