Telerik Forums
Reporting Forum
2 answers
245 views

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;
}

 

 

Jonathan
Top achievements
Rank 1
 answered on 08 Mar 2017
1 answer
585 views

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?

Stef
Telerik team
 answered on 08 Mar 2017
1 answer
109 views

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

Nasko
Telerik team
 answered on 08 Mar 2017
2 answers
948 views
We cannot determine how to calculate date differences in Expressions (usage example: highlight a row if the Current Date is 7+ days past the Due Date). There appear to be very limited date manipulation functions that can be used in Expressions.
Cecilia
Top achievements
Rank 1
 answered on 07 Mar 2017
1 answer
126 views

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

Katia
Telerik team
 answered on 07 Mar 2017
0 answers
141 views

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?

Vikram
Top achievements
Rank 1
 asked on 06 Mar 2017
0 answers
80 views

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 = ?    

 

I managed
I managed
Владимир
Top achievements
Rank 1
 asked on 03 Mar 2017
1 answer
176 views

Can anyone help me  with this error in the togllevisibility of the columns, please?

Video attached.

Katia
Telerik team
 answered on 03 Mar 2017
1 answer
329 views

im trying bind textbox bottom border

Property path : Style.BorderStyle.Bottom

Expression: =IIf(Parameters.FooterNamesCount.Value=3,Solid,None)

textbox bottom by default set none. But when parameter =3 bottom border not changed.

 

 

 

 

 

 

 

Katia
Telerik team
 answered on 03 Mar 2017
0 answers
257 views

when creating the report parameter with auto refresh property = false
a Generate button is added to the report UI automatically for triggering the update. An example is attached.
Is there a way to move the 'Generate' button up, closer to / just below the EndDate textbox so that the user can clearly acknowledge the button needs to be clicked for getting the update.

Thanks,
Jerry

Jerry
Top achievements
Rank 1
 asked on 03 Mar 2017
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?