Telerik Forums
Reporting Forum
3 answers
728 views

Hi Forum,

I am attempting to add a filter to a grid using the Top N filter operator with Value = 5 so that the grid contains only the top 5 rows based on the value in the column being used for the filter.  If, for example, 8 rows have the same value for this column, which is the highest value in the dataset, all 8 rows will be displayed in the grid.  

Is there a way to ensure an arbitrary tiebreak so that there are never more rows than the specified N value?

Thank you

 

Katia
Telerik team
 answered on 02 Dec 2016
2 answers
541 views
I am getting the error message "
An error has occured while processing HtmlTextBox 'htmlTextBox1':
" when my report is displayed. The rest of the report looks just fine.

The data the is supposed to be in the textbox is just a string w/o any HTML markup ("Mother & sister w/ thyroid dz. Positive for CA & HTN.").

This was working in my testing environment and when I moved it to my production environment I began to get the error.

Are there any common problems with the HtmlTextBox that I should be aware of? Is there something I could do to get the true error message?
PH
Top achievements
Rank 2
 answered on 01 Dec 2016
6 answers
821 views

Using http:\\localhost the report runs fine

Using http:\\<domain> all I get is the loading...

I know that the "loading..." comes from the HTML and that the Telerik report viewer is driven by JQUERY so it must be some issue with IIS and the Telerik component but I can't figure out what and I don't know how to diagnose further

I searched this forum and tried various solutions to similar situations but when this happens (just shows "loading...") but

1) I'm not getting any errors in the Server Windows log

2) Fiddler doesn't show any problems (unless I am not looking in the right place)

 

Stef
Telerik team
 answered on 30 Nov 2016
7 answers
234 views

Hello,

I have a problem with reports.

I created a report with this sections (see "report.jpg" from attached files):

- groupHeaderSection (with property "printOnEveryPage = true")
    - groupHeaderSection (for each subject)
        - Detail
    - groupFooterSection (with property "visible = false")
- groupFooterSection (with property "printOnEveryPage = false" and "pageBreak = After")
 
My problem is... If I find a example with the detail section finish at the end of page, the next page show overlap between
groupHeaderSection and groupFooterSection (see "overlap.jpg" from attached files).

The groupHeaderSection properties: see "groupheadersection.jpg" from attached files.
The groupFooterSection properties: see "groupFooterSection.jpg" from attached files.

It's very difficult for me to explain you my problem becouse my english is not very good, I wait you understand me.

Regards



Stef
Telerik team
 answered on 30 Nov 2016
1 answer
453 views
How can we most easily perform the follwoing directly from the Stanalone Report designer?

//Get the current user name from the CurrentUserName Session variable
string un = HttpContext.Current.Session["CurrentUserName"].ToString();

//Set a value to a Report Parameter1 used in a report filter
report1.ReportParameters["Parameter1"].Value = un;
Stef
Telerik team
 answered on 30 Nov 2016
4 answers
283 views

Hi,

I am developing a web application with Angular 2 (Typescript ). Its not a .NET web application. I am also using Kendo UI. I wants use telerik reporting for my application.

Is there any way to use telerik reporting (without C#/VB) in my application? If any, please give me a sample code.

Thanks

Md Nasir Uddin

Stef
Telerik team
 answered on 29 Nov 2016
4 answers
612 views

Hi guys,

I have a table, and one of the columns is it works perfectly when I set the picture value from the data source.

But we have some invalid images, and we want to validate the image in the . So how can I set the image in the or maybe get the image path in the  function.

 

This is my code, tried to fill the TextBox9 with the image path, but not working properly:

 

Private Sub PictureBox4_ItemDataBinding(sender As Object, e As EventArgs) Handles PictureBox4.ItemDataBinding
        Dim picture As Telerik.Reporting.Processing.PictureBox = DirectCast(sender, Telerik.Reporting.Processing.PictureBox)

        Dim s As String = String.Format("= '{0}' + {1}", "/portals/0/PI/ProductImages/", TextBox9.Value.Replace("=", ""))

        picture.Image = Image.FromFile(s)
        TextBox13.Value = s
    End Sub

thanks

 

Stef
Telerik team
 answered on 29 Nov 2016
1 answer
942 views

Im trying to use nested if statement, but it fails to work:

 

inside my textbox:

=Max(IIF(Fields.RequestContactCodeDescription = "Broker", 
IIF(Fields.HomePhoneNo = "", IIF(Fields.BusinessPhoneNo = "", IIF(Fields.CellNo = "", "No Contact Num", Fields.CellNo), Fields.BusinessPhoneNo), Fields.HomePhoneNo), ""))

 

 

equivalent pseudo if statement:

If(Fields.RequestContactCodeDescription == "Broker"){

     if(Fields.HomePhoneNo == ""){

          if(Fields.CellNo == ""){

           [...]

          }else{

            //Show CellNo

          }

      }else{

         //Show HomePhoneNo

     } 

}else{

//show nothing

}

 

What I want it to do:

Find the entries that has 'Broker' as the code Description. Then show his Home phone number, if he doesnt have that then show his Cell number, if he doesnt have that then show his Business number

Stef
Telerik team
 answered on 29 Nov 2016
4 answers
78 views

I have already update my telerik reporting to R3 2016.  But when I drag the ReportVeiwer from toolbox, the top menu is still old style, unlike the demo site.

https://demos.telerik.com/reporting/invoice?&skinName=office365

How can I fix that?

Bertha
Top achievements
Rank 1
 answered on 28 Nov 2016
5 answers
164 views

Hi Team,

 

I need to download Telerik version 7.1.13.612. Currently, I am using version 10 but I don't want to upgrade. 

 

Thanks in advance for help.

 

Regards,

Ravi

Ravi-Kumar
Top achievements
Rank 2
 answered on 28 Nov 2016
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?