Since migration to 11.0.17.222 I have had problems linking master/child type reports. I have several reports which consist of a "master" report with one or more "child" reports in it.
The "child" reports exist in the "group footer" sections for respective groups found on the master report. Prior to the 11.0.17.222 migration using a report parameter of "= ReportItem.DataObject.Fund" resulted in a parameter "Fund" being made available for consumption by the "child" report. As of the 11.0.17.222 migration this is passed into the "needs data source" event (of the child report) as null 100% of the time.
As a work around for the problem, I have re-written my "needs datasource" events to use the "ProcessingElement" value and access the bound data element from the ".DataObject.RawData". This seems to be working although I suspect it is probably a "non-supported" means of resolving this apparent bug.
A sample of what I am doing is as follows:
var rowData = qd.DataObject.RawData as BudgetDataLibrary.SumRevenueByFundData;
if ((rowData != null) &&
(string.IsNullOrWhiteSpace(rowData.Fund) == false))
{
parentFund = rowData.Fund;
}
Hello,
I have a table in the detail section of a subreport, so it should recurr for each element in the bound datasource (in this case objectives). SO there shoudl be one talb eper objective. The report was working fine and then stopped after upgrading to the most recent version. I'm wondering if there is a recommended way to do what I am doing... See capture.png
Essentially for each objective, I want to display the result in a table, because the text of each attribute is long and the table will expand appropriately to display the item. The Goal number in green displays correctly, however the attributes such as Area of desired change are blank..
I've tried setting the textboxes in the table directly on the itemdatabound event of the detail section (see commented text below) and this does work but if there are three objectives it sets all three instances of the table textboxes rather than the current detail section (and table) only. I've also tried the NeedDataSource of the table... what is the best way to go about this?
private
void
TelerikRptTreatmentPlanSub_NeedDataSource(
object
sender, EventArgs e)
{
(sender
as
Telerik.Reporting.Processing.Report).DataSource = ObjectiveService.GetForTreatmentPlan(
this
.Parameter1);
}
private
void
detail_ItemDataBinding(
object
sender, EventArgs e)
{
Telerik.Reporting.Processing.DetailSection section = (sender
as
Telerik.Reporting.Processing.DetailSection);
object
_iD = section.DataObject[
"ID"
];
tblObjective.DataSource = ObjectiveService.GetByID(Int32.Parse(_iD.ToString()));
//txtGoal1AreaOfDesiredChange.Value = _objective.ObjectiveAreaofDesiredChange;
//txtGoal1TimeFrame.Value = _objective.TimeFrameandModality;
//txtGoal1Objective.Value = _objective.Description;
//txtGoal1BaseLines.Value = _objective.Baselines;
//txtGoal1MeasuredBy.Value = _objective.MeasuredBy;
//txtGoal1Interventions.Value = _objective.Interventions;
}
We have created a simple function in C# external assembly which returns string and doesn't accept any parameter. We have configured it in Standalone Report Designer config and function is available under "misc" section. We have used the same on a text box using fully qualified name (assembly.class.function).
But on report preview, text box is blank. We are able to attach the process in VS and debug point is loaded which means, assembly is loaded in attached process but it never hits the break point. Using Iif function we found that function call on report returns null but it seems that it never calls the C# implementation.
Are we missing anything here?
I Have a method in webapi, which is used to get the data and it is having IHttpActionResult as return type, now how can i display the data in Telerik ReportViewer
Thanks in Advance
Hi Telerik admin,
I assume I have a textbox in Reporting, and I customize in Databinding events, like below:
private void textBox9_ItemDataBinding(object sender, EventArgs e)
{
var textBox = sender as Telerik.Reporting.Processing.TextBox;
if (textBox != null)
{
var myLink = new NavigateToUrlAction
{
Target = UrlTarget.NewWindow,
Url = "https://www.google.com"
};
textBox.ItemDefinition.Action = myLink;
}
}
In old version, after binding, this work. I can click in my textbox. But, after upgrade to laster version. It doesn't work. I've debug in new version, everything seem ok, but after that, I can't click my textbox. Can u help me ?
Thanks
I am working on MVC application where Telerik Reporting is integrated. We are using Azure cloud service to deploy. We are facing issue with font "Open Sans". The issue is, some times the font of some text box get change to Times New Roman or Serif font. This issue is intermittent.
Is there any specific way we should include font in Telerik Reporting service?
Since Kendo forums are closed for peasants, i'll try to ask here.
The task is to get all needed data (dataItems) for further post request by draging element from grid to treeview (some file manager logic - change directory). I managed to get grid dataitem by getting uid, but i can't find "li" uid, only treeview's uid. Is the any way?
Thanks.
$("#...").kendoDropTarget({
drop: function (e) {
var sourceUid = e.draggable.currentTarget.data().uid,
destinationUid = ?
Can anyone help me with this error in the togllevisibility of the columns, please?
Video attached.