Telerik Forums
Reporting Forum
5 answers
774 views
I am currently evaluating Telerik reporting.  One of the projects that I work on requires that a report be generated so it will be formated as we have designed it to look, however we do not want it previewed by the user.  There are two seperate functionalities that we require.  One is the report would be sent directly to a printer.  The other function requires the report to be formated, converted to .pdf and saved directly into our SQL Database by means of a file stream into a binary max field.  We currently have this functionality in a VS2008 project using Crystal Reports.  My desire is to get away from Crystal as quickly as possible, I hope you tell me this can be done.   
Katia
Telerik team
 answered on 12 Aug 2016
5 answers
567 views
I'm trying to convert sqldatasource to dataTable but I recieved an error.

Here is the error:
'Telerik.Reporting.SqlDataSource' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'Telerik.Reporting.SqlDataSource' could be found (are you missing a using directive or an assembly reference?)


DataSourceSelectArguments args = new DataSourceSelectArguments();
DataView view = (DataView)sqlDataSource1.Select(args);
DataTable table = view.ToTable();

Which namespace should I use and which assembly should I add? Or maybe its not supported?

Stef
Telerik team
 answered on 12 Aug 2016
1 answer
158 views

Hello, 

I was wondering how I access the SelectedDocumentMapNode and DocumentMapNodes properties in WPF? 

The goal is to display my own document map with checkboxes next to each item so I can provide the user with a simple way to remove reports. Seems redundant to display a list of sections to include along with displaying the built-in Document Map. 

Thanks,

Amy

 

 

Stef
Telerik team
 answered on 12 Aug 2016
1 answer
122 views

Hi,

my hierachy:

--+-> MasterReport
                |
                +-> SubReport 1
                  +-> Textbox 1
                  +-> Textbox 2
                  +-> SubReport 11
                               +-> Textbox 3
                               +-> SubReport 111
                  +-> SubReport 21
                               +-> Textbox 4
                               +-> SubReport 211
                (...)       
In my report construcutor i'm hidding SubReport1 like this:
               

SubReport1.Visible = false ;

But i can't find any way to access SubReport11, SubReport111 or SubReport21 from here.
I have try:
  SubReport1.Items["SubReport11"].Visible = false;
  SubReport1.Report.Items["SubReport11"].Visible = false;

  Cant you please tell me how you would access to the SubReport11 Visible Propertie from the code of MasterReport.

Regards,
Pierre LEBON
Pierre
Top achievements
Rank 1
 answered on 11 Aug 2016
3 answers
380 views

I'd like to be able to make the length of some of my dropdown parameters longer. The default is fairly short and it's hard to select multiple values when there are many options. Is this possible? All of my parameters are created during design-time.

Thanks

Katia
Telerik team
 answered on 11 Aug 2016
1 answer
148 views

Hi,

i'm new to the telerik reporting. I'm using it for WPF application in which all the data are fetched from the WCF service

In the same way, i would like to use the Datasource from the wcf service to the Reporting class. Its very difficult for us to implement the datasource which is not fetching the data

Can you please let me know how to add wcf service as the Datasource for the reporting library?

A sample working project would be really helpful for me to implement the same

Thanks in advance

Ramesh R

Stef
Telerik team
 answered on 10 Aug 2016
1 answer
435 views

Just wanted to share this performance tip.

We are running reports, which were actually not running that impressively fast from our website.

The initial load was very long, and subsequent request (which I guess it reads from the FileStorage cache), was ofcourse faster.

We then added a SSD disk to the dev server, and in the reports controller code we changed the path to the FileStorage part of the ReportServiceConfiguration, so it now pointed to a temp dir on the new SSD - and it now runs 10-15 times faster :

After the first request, changing pages or reloading the report takes 1-2 seconds - before that it was 20+ seconds.

And this is just a dev server, and the SSD was added via USB2 - so I am sure we can make it run much faster when we put it into deployment on bigger hardware.

Hope it helps some fellow Report developers out there ;-)

Stef
Telerik team
 answered on 10 Aug 2016
1 answer
625 views

Hello,

Right now my report show's date time like this: 10/23/2016 6:00:00 PM

However it would be better to appear without the seconds, like this: 10/23/2016 6:00 PM

I want to keep the datetime inside the same HTMLTextBox, I do not want to create a new control. Keeping it in the same control keeps the presentation tight together.

My Expression looks like this: http://screencast.com/t/J0Rtv1z38

What change should I make here?

Can I put C# code here? {Fields.StartDateTime}.ToShortDateString() }

I have read:

http://www.telerik.com/forums/formatting-embedded-expressions

http://docs.telerik.com/reporting/expressions-embedded

But neither of these answered the question.

Stef
Telerik team
 answered on 09 Aug 2016
1 answer
1.1K+ views

Hello there. Ive been looking for solution to my problem for some time, yet, I am still not able to solve it. All I need to do is, to change the Y-coordinate of an item (in my case textbox) according to some rules (from data that I get). I can see the option "location" in bindings, but I dont know what to write as an expression. Also, I am not allowed to modify InitializeComponent() method. What should I do?

Thanks :)

Katia
Telerik team
 answered on 09 Aug 2016
1 answer
234 views

I am trying to configure the REST API service use a custom class that implements Telerik.Reporting.Cache.Interfaces.ICache. I am following this doc's instructions and am stuck on the web.config declaration. In the configSections, I need to add a section declaration for the Telerik reporting, but am unsure what class to specify. Is there another doc page has this information? Also, the reason I'm trying to implement my own ICache is to figure out what it does - can someone enlighten me, or point me towards a doc page with this information?

 

Web.config section declaration [template] below:

<section name="Telerik.Reporting" type="Telerik.Reporting.[SomeClassHere], Telerik" />

Stef
Telerik team
 answered on 09 Aug 2016
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?