Telerik Forums
Reporting Forum
2 answers
567 views
Hello,

i set a filter to check if my value (from Database) is a String. I don't know how to do it properly. So i use my own Function:

Public Shared Function CheckForAlphaCharacters(ByVal StringToCheck As String) As Boolean
 
    Try
        Dim i As Integer = 0
        For i = 0 To StringToCheck.Length - 1
            If Char.IsLetter(StringToCheck.Chars(i)) Then
                Return True
            End If
        Next
        Return False
    Catch ex As Exception
        Return False
    End Try
 
End Function

An this is how i define the filter. (I also added a screenshot)

= MIR.Web.ZinsCheck.Hilfsfunktion.CheckForAlphaCharacters(CStr(Fields.Beschäftigungsverhältnis2)) = True = = True

What I want is, if the Value is Empty the row not visible.

So this wont work. What i'm doing wrong?

But I am also open to other solutions!

Thank you,
Daniel
Daniel
Top achievements
Rank 1
 answered on 07 Apr 2014
1 answer
144 views
Hello,

I'm migrating a set of reports from InProc session state to SQL Server sessions state (and have read the design considerations document at least 40 times.)  I'm using an object data source in a report and was wondering if someone could clarify if I understand correctly

1)  ObjectDataSource parameters must be primitive types.  i.e., I can not assign a "ReportCriteria" object as a parameter, but must assign ReportCriteria.StartDate, ReportCriteria.EndDate, ReportCriteria.ZipCode, etc as individual parameters?

2)  If I add a sorting binding to a column header and click it, the DataObjectMethod that my ObjectDataSource is assigned to will be called again and I have to take the database hit two times?   If this is the case and not a misunderstanding on my part, is there a reccommended approach to not hit the database multiple times?

3)  Are there any real world examples available anywhere in the documentation or videos?  I feel like everything I see works against the "best case" scenarios of clean data and no weird customer requirements?

Many thanks!

Joe
Nasko
Telerik team
 answered on 07 Apr 2014
1 answer
120 views
Hi,

I am attempting to create a Console Application to schedule the creation of reports programmatically.  I found your example for creating PDF-files that seems easy enough.

I added a reference to Telerik.Reporting.  I also added "using Telerik.Reporting.Processing;".  Visual Studio 2010 intellisense seemed to accept the syntax and I was presented with intellisense "period-alternatives" (and no squiggly red underlines).

However, when I then attempted to build the project, I received the following error-message:
"The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)"

Versions:
Telerik Reporting Q1 2014
Visual Studio 2010 (SP1)
.Net 4.0

Questions:
1. Are there known "issues" using Telerik Reporting with Console Applications?
2. Where else could I possibly reference the Telerik dll?
3.  Since this is a very common need, could you provide sample code for a Console Application?

Thanks in advance!
Stef
Telerik team
 answered on 07 Apr 2014
6 answers
334 views
Hello,

since I using Telerik Reporting Version 7.1.13.612 I have trouble with my Zebra TLP 2844 Printer.
Instead ob Landscape the Printer prints in Portrait Mode. When I used the Version 6.1.12.611 the Printer worked well.

Do I need to change any settings?

Stef
Telerik team
 answered on 07 Apr 2014
3 answers
206 views
I found an old post with a sample for a SubReport to display hierarchical data.  There was an error in it that I cannot seem to fix.  I created my SubReport and have it working recursively.  But when I add it to my main report in the details section, it works for the first data item, but when it adds the subreport for the second data item it gives an error because there is already a SubReport with that name.  So, I add a SubReport to my details section, it automatically names it subReport1.  When I run the report the first item in my details section runs beautifully.  When it gets to the second item the Subreport displays an error because it is also named subReport1.  The Name property of Telerik.Reporting.Processing.SubReport only allows getting, not setting, so I can not programmatically rename it on ItemDataBinding.  What would the work around be for this?
Hinata
Top achievements
Rank 1
 answered on 07 Apr 2014
1 answer
158 views
Hi

I created one report that inherit one report template.
But I want to change the template of the report based on conditions in UI.
Is it possible to change template of the report from UI?

What I have done is created another report same as original one and change template.
And in UI call each report based on condition.

Is there any other way to do this without creating another report?

Thanks

Jain
Nasko
Telerik team
 answered on 07 Apr 2014
2 answers
294 views
Hi,

We are using Report Viewer on a ASP.NET web form to show a report designed using Telerik Report Designer Q1 2014. We have to load more than 10000 records inside a report. We are using paging so that a page has around 100 records. As performance point of view is it possible to load the data using data paging, like your data pager control, where only the data that are required for a page is loaded at a time instead of loading all the data at once. Also need to consider if user want to export or print the report, in that case report should bring all the data.

Regards,
Majid
Majid
Top achievements
Rank 1
 answered on 05 Apr 2014
1 answer
218 views
Good day all,

I am using telerik Q3, 2013 I have a bit of challenge achieving this scenario.
I have an Order page where i take orders from customers for goods they want to purchase which are saved in the database.
After taking the orders and hitting a complete sales button i want the page to redirect to an invoice page which should be a telerik report and display the items and the prices using the InvoiceNO as a querystring.
I have being able to design the report using the report designer but implementing the querystring on the page load so as not to now select is being the problem.
Can anyone help me with and idea or solution.
Thanks soo much
Hinata
Top achievements
Rank 1
 answered on 03 Apr 2014
1 answer
90 views
We are using Reporting 2013 Q3 in a WPF Application together  with RadControls 2013 Q3 1316 and so far everything runs fine.

Now we are trying to update to Reporting 2014 Q1 (via Wizard or manual). When a new ReportViewer is being instantiated with 

Telerik.ReportViewer.Wpf.ReportViewer reportViewer = new Telerik.ReportViewer.Wpf.ReportViewer();

we get a assembly not found exception:

Die Datei oder Assembly "Telerik.Windows.Controls, Version=2013.3.1202.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)

Obviously Reporting 2014 Q1 references somewhere Telerik.Windows.Controls, Version=2013.3.1202.40, but we cannot find where to change it...
Peter
Telerik team
 answered on 03 Apr 2014
1 answer
80 views
Hi telerik,

I just upgraded my WPF/Silverligt projects from Q3 2013 to  Q1 2014
and WPF upgrade works successfully as described in document.

However, silverlight upgrade is not working.
Though I copied new xaml files from Q1 silverlight folder and added resource dictionary,
SL viewer still shows blank diffrently with WPF.
It's compiled anyway and when I open preview, error says 'telerik:PickerToggleButton' can't create system.type.
I guess silverlight assembly does not match with your new xaml resource,but I re-confirmed
that every telerik dlls are upgraded to Q1 2014.

My SL project had to do some bug fix ASAP and I seriously regret why I upgrade reporting with new version.
Pls let me know how to fix this upgrade. Your quick reply would be appreciated.

RGDS
Kang

Stef
Telerik team
 answered on 03 Apr 2014
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?