Telerik Forums
Reporting Forum
1 answer
1.0K+ views
I am trying to use multiple objectDataSource in a single report but i got an error

 Only fields from the current data source 'objectDataSource1' are allowed 


I added objectDataSource1 first then another one named objectDataSource2.

i need to add some fields in Report from objectDataSource2. but i get this error.
Please tell me how can i overcome this problem.
thank you. 

I am using Telerik Reporting Q2 2012 

Elian
Telerik team
 answered on 19 Sep 2012
1 answer
391 views
We are using Telerik Report Viewer in our Web Application. During development and testing on my local machine I all of a sudden began receiving this bug while testing. Any thoughts?

An item with the same key has already been added.

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Telerik.Reporting.Processing.Expressions.ReportExpressionContext.ResolveNameSpaces()
at Telerik.Reporting.Processing.Expressions.ReportExpressionContext..ctor(Type methodInfoSourceType)
at Telerik.Reporting.Processing.ParametersManager`1..ctor(IReportDocument definition, ICollection`1 parameters)
at Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager()
at Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Steve
Telerik team
 answered on 19 Sep 2012
1 answer
120 views
Hello

Is there a way to make the paging style for the reportviewer to look the same as a Telerik grid? (image examples attached)
The only way I can see would be to change the Grid using the PagerTemplate.

Am I missing something re the style for the reportviewer?

Thanks
Steve
Telerik team
 answered on 19 Sep 2012
1 answer
105 views
Hello,

Is it possible to set an interval on a line graph?  What i mean is lets say you have a series of dates and I only want to show every 5th one.  Is that possible and if so how does one do that?  

Thanks,
Steve
Telerik team
 answered on 19 Sep 2012
2 answers
96 views
I am creating a forecast line chart via code that show the projected amount for the whole year with actual amount for the given month in another series. 

What I want to do is hide the "future" value of the actual amount.  For example in my screenshot, I am running the graph as of July. I don't have any data from Aug - Dec so it's zero or null.  How can I have the line stop at July or make the line invisible after July?  I don't want my graph to show a big drop from July to Aug.

https://docs.google.com/open?id=0ByWuNoN2Uz2DZG5NZ25yZGlOWXM

Thanks!
hin
Top achievements
Rank 1
 answered on 18 Sep 2012
1 answer
54 views
We just upgraded from Q3 2009 to Q1 2012 and I am having trouble adapting to the new procedures. One of things that I noticed is that the Report Wizard no longer generates an .xsd file and the reports no longer seem to recognize them. Am I missing something? Secondly, I am finding it very difficult to find any information regarding this topic. Any help would be appreciated.
Steve
Telerik team
 answered on 18 Sep 2012
1 answer
120 views
I am fairly new to Telerik reporting and I am trying to design a horizontal bar chart group by several items.  Here is the structure of my data source

public class SurveySummaryFindingGlobal
{
        public int SurveyId { get; set; }
        public int TotalNumberSurveyed { get; set; }
        public int TotalNumberResponsed { get; set;}
        public System.DateTime DistributionStartDate { get; set; }
        public System.DateTime DistributionEndDate { get; set; }
        public List<SurveyDept> Departments { get; set; }
        public List<SurveySummaryFindingDetail> ReportSummaryLineItem { get; set; }
}
 
public class SurveySummaryFindingDetail
{
        public decimal Percentage { get; set; }
        public int TotalResponses { get; set; }
        public int SurveyGroupID { get; set; }
        public int SurveyQuestionID { get; set; }
        public string SurveyGroupName { get; set; }
        public string QuestionResponse { get; set; }
        public string QuestionText { get; set; }
}

The datasource of my chart object is the ReportSummaryLineItem  property of the SurveySummaryFindingGlobal object.  I was able to create a ChartSeries item using the the Percentage
property of the SurveySummaryFindingDetail object through the Telerik reporting designer.  After I bind
the data source to the chart object, I want to group the chart by SurveyGroupName because there are
multiple data rows with the same SurveyGroupName value.  Also, I want to create CustomPalette using the
QuestionResponse property of the SurveySummaryFindingDetail because I want to display the percentage
per QuestionResponse (1,2,3,4,5,8,9).

I have attached a current screenshot of where I stand with the chart object. (The chart bat items are
clustered close together, still trying to learn the telerik reporting framework)
Elian
Telerik team
 answered on 18 Sep 2012
3 answers
154 views
Can the file name of the export be specified when exporting to PDF from the silverlight viewer?
Peter
Telerik team
 answered on 17 Sep 2012
1 answer
179 views
Hey guys,


My report needs the feature "drill through", which I implement by the feature "action-->navigate to report". However, In one case, I intent to block the drill though feature when my parameter "p1" is greater than 5.
How can I archive this function--"conditional drill through" or "conditional action"?

Thanks for your help in advance.
Steve
Telerik team
 answered on 17 Sep 2012
3 answers
164 views
Anyway to navigate to a bookmark without human intervention.  Basically i have a report full of book marks.  When the user decides to run the report, i want to automatically jump to a book mark in which that string is  stored in my database.  Is there a way to jump to a bookmark basically via code.
IvanY
Telerik team
 answered on 17 Sep 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?