Telerik Forums
Reporting Forum
0 answers
52 views

For pie chart, if  DataClass("xxx", 1) then slice gets out of circle.

Please give me any solution.

Ranjith
Top achievements
Rank 1
 asked on 04 Jan 2017
5 answers
236 views
Hi, 

Can i please get some advice on how to incorporate existing reports in to my ASP.Net MVC application?

The are in a separate project inside the same solution and were created with the telerik report designer for visual studio.
The reports run and can be visualised without any issue, however i have no idea how to display these same reports inside of a view in my main application.

I have looked at the existing  documentation and some of the examples avaiable but i cannot achive the same results.

Some examples stated that i need to have an instance of report server running. other examples state that all i need is to add a report viewer, I tried to add one to my app however the report viwer cannot find my reports because it looks for files of extention TRDX which are not the same as my reports, in fact the report server also seems to use TRDX files.

So can i please get som indication into how to get my reports displaying in my app (based on ASP.Net MVC .net 4.5 (Razor)) . And if needed how can the existing reports be converted to the TRDX format?

Links to a walkthrough example would be greatly appreciated.

Regards
Carlos
Top achievements
Rank 1
 answered on 03 Jan 2017
0 answers
138 views
I want to change some properties of a panel located in page footer section. For doing this , I can create  an itemdata binding(or bound) event  in the pagefooter section . But this event maybe fired 12 or 13 time on a report that have only one or two page.  I found if I  could insert my code in item data binding(or bound) of the report , this event only one time is fired . My problem in the events of (except page footer section events) is "not modifying of the  element of pagetfooter section - hear 'my panel  control' " . I want to change properties of page footer section controls  by coding in the events of the report (because events of the Report only fired one time) . In the event of the "Report" I can not change the properties of the page footer section controls .
M
Top achievements
Rank 1
 asked on 02 Jan 2017
0 answers
118 views

Hello, 

      I am using standalone designer to design a table with ten columns. I am setting table columns visibility  based on some conditions. So, number of columns that are displaying will be based on that condition. I need to increases displaying columns width to fit into the page.Please refer the attached screen shot. 

Ramki
Top achievements
Rank 1
 asked on 02 Jan 2017
6 answers
640 views
Hi,

I've got a connectionstring problem, I know these kind of questions have been asked thousands of times before but still I cannot figure out what I'm doing wrong.

Here's a simplified structure of my solution:

DataModelClassLibrary
-includes my Entity Framework Model along with a app.config including my db connectionstring like this:
<connectionStrings>
   <add name="MyModelEntities" connectionString="metadata=res://*/Models.MyModel.csdl|res://*/Models.MyModel.ssdl|res://*/Models.MyModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=MYSERVER;Initial Catalog=MYDB;Persist Security Info=True;User ID=MyUser;Password=MyPassword;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
 </connectionStrings>

TelerikReportClassLibrary
-here I've defined my reports i've also added a app.config with the same connectionstrings as the app.config
in my DataModelClassLibrary

MyWebProject
-here I've got my actual program and of course it has a web.config again with the same connectionstrings as the app.config
in my DataModelClassLibrary

Now to the problem, if I add a EntityDataSource or a SqlDataSource directly to a report and set it up using one of the
connectionstrings that i've copied to the app.config I'm able to connect to my data and design the report and preview it
within the designer. It also works as expected at runtime.

However recently I wanted to use the ObjectDataSouce so that I could separate out some logic from the report not to make
the report itself too complex and here's where I hit a problem.
I added a class let's say Cars to my TelerikReportClassLibrary which is responsible of retrieving data using my ef model defined in DataModelClassLibrary. I set the report to use a ObjectDataSource and points its select method to a method in the newly created class.
At runtime I can recieve data just fine but if i try to preview the report in the designer I get the following error:
An error has occurred while processing Report 'MyReport':
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.

I was able to get around the problem using a technique similar to the one described here:
http://www.telerik.com/community/code-library/reporting/general/use-the-connectionstring-from-your-app-s-config-file.aspx
So that I first checked if it can find the configured connectionstring and if not I manually hardcode one using the EntityConnectionStringBuilder

Is this really my only option? Why can't the report designer find my connectionstring?

Tomas
Dilan
Top achievements
Rank 1
 answered on 31 Dec 2016
1 answer
138 views

Picturebox make a new blank page when viewmode = "PrintPreview" on the report.

I'm using telerik.reporting 2016 R3

When remove picturebox, it's correct.

why?

Stef
Telerik team
 answered on 28 Dec 2016
1 answer
261 views

Hello,

         I am using secondary Y axis which is placed AtMaximum and i am displaying labels from 0 to 100 with 10 major steps. I need to right align these numbers. For example,

           100     -    100

           90       -      90

           80       -      80

           0         -        0

but it is not working with the style. i tried to assign LabelFormat to '{0,5:N0}'. but it is also not worked. Is any other way to achieve this?

 

Ivan Hristov
Telerik team
 answered on 28 Dec 2016
3 answers
399 views

Hello,

I have a report with the following structure:

PageHeader --> with logo and company data only on the first page.

GroupHeaderSection1 --> With data of the person is displayed on all pages if the user indicates it, this is the binding property

GroupHeaderSection2 --> Description of the fields for the page break.

GroupHeaderSection3--> Not visible only to group and have the sum of the group in the GroupFooterSection

GroupHeaderSection4 --> Table with the column literals you get from another DataSource independent of the report, Visible on all pages.

Detail --> General data of the reports

GroupFooterSection 1 --> not visible

GroupFooterSection 2 --> not visible

GroupFooterSection 3 --> Summation of a detail field

GroupFooterSection 4 --> not visible

ReportFooterSection --> con totales del informe y 3 tablas informativas

PageFooterSection --> PageNumber

 

Problem:
I need to get the summation of the previous page and the sum of the same page and that this data appears between the GroupHeaderSection4 and the detail and at the end of the detail between  the GroupFooterSection 3 and  ReportFooterSection.

 

Test done and failed

1) I found this function that does it but it paints it in the PageHeader, not where I need it

https://translate.googleusercontent.com/translate_c?depth=1&hl=es&prev=search&rurl=translate.google.es&sl=en&u=http://www.telerik.com/forums/carryover-page-sum-on-top-of-next-page&usg=ALkJrhi6igkyBztdcmZgrlchAOhYR032wg#PnmtDie720udwCPEjMPADA

2) With the function of 1 put the data in header but not visible and another textbox in a group with the value of the textbox

2) With the function of 1 Update a report parameter with the value of the PageNumber.

3) Create a group grouping by pageNumber

4) Put all groups in the PageHeader and display binding, but I reserve space although the fields are not visible. And the page break does not paint me where I want

5) Try to access from the viewer to the data to save me for each line of the report your page number and return it to launch

How can I develop what I need by maintaining the structure of the report?

Thank you

 

Stef
Telerik team
 answered on 27 Dec 2016
1 answer
96 views

Hello,

         For a Line Series, we have Diamond Symbol (From the MarkerType Property ) in the Graph, instead of that i need to use my own image or font icon, how can i use that? Please Help.

 

Thanks & Regards,

     Dinakaran

Stef
Telerik team
 answered on 27 Dec 2016
9 answers
1.4K+ views

Hello

I am using Graph component to display a bar series chart. Y-axis is using numerical scale to display the labels. I am struggling to find a way to display those numbers in thousands and millions.

 

Ex:   100 -  100

         1000 - 1K

         10000 - 10K

    100000 - 100K

     1000000 - 1M

 

Is there a way to do this?

Please let me know.

 Thanks

Mahesh

Stef
Telerik team
 answered on 27 Dec 2016
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?