Telerik Forums
Reporting Forum
1 answer
189 views

Hi,

I put the telerik report viewer in a WebForm page and have integrated it into a MVC project to show any report designed by the designer(any .trdx file, and i don't what kind of input parametes will be included in the report).

Now I am trying to add the feature sending report as attachment by email.  While doing that, I pop up a kendo UI window to allow user input receivers' email addresses (with kendo UI Mutiselect control). 

The problem is that I found there is no way to get the Telerik report view control in my ajax submitted function to generate the report. I took a look at the article http://www.telerik.com/community/code-library/reporting/general/send-telerik-report-as-email-attachment.aspx
 and know how to send telerik report by email, but what if the report has input parameters and user input that in the page and then want to send that report? how to set the parameters if i have no idea on what kind of parameters can be.

Can any one give me some suggestion on how to make it or provide a better solution? I am puzzled by calling between MVC and WebForm...

Thanks,
Leo
IvanY
Telerik team
 answered on 18 Apr 2013
5 answers
261 views
On my development pc I have used some ideas from this forum to implement direct printing from Silverlight( well sorta direct as it skips showing the reportviewer). The user is supposed to be presented the Print dialog box which works great on my dev PC. When moving the xap and dlls to the testing server the user is never shown the print dialog box therefore nothing happens.

Any ideas why it wont show on the server?

Thanks much,
Richard
richard
Top achievements
Rank 1
 answered on 18 Apr 2013
0 answers
88 views
Hello Guys, 

How I can to make my query to receive a parameter using '%like%'?

I tried this 3 options below but its dont working ( last(5ยช) line )

SELECT PSR.NOME, CO.NOME, FU.NOME, CO.ATIVO,CO.ID_PSR
FROM COLABORADOR CO
LEFT OUTER JOIN PSR ON PSR.ID_PSR = CO.ID_PSR
LEFT OUTER JOIN FUNCAO FU ON FU.ID_FUNCAO = CO.ID_FUNCAO
WHERE PSR.NOME LIKE %@Nome_PSR%

SELECT PSR.NOME, CO.NOME, FU.NOME, CO.ATIVO,CO.ID_PSR
FROM COLABORADOR CO
LEFT OUTER JOIN PSR ON PSR.ID_PSR = CO.ID_PSR
LEFT OUTER JOIN FUNCAO FU ON FU.ID_FUNCAO = CO.ID_FUNCAO
WHERE PSR.NOME LIKE '%@Nome_PSR%'

SELECT PSR.NOME, CO.NOME, FU.NOME, CO.ATIVO,CO.ID_PSR
FROM COLABORADOR CO
LEFT OUTER JOIN PSR ON PSR.ID_PSR = CO.ID_PSR
LEFT OUTER JOIN FUNCAO FU ON FU.ID_FUNCAO = CO.ID_FUNCAO
WHERE PSR.NOME LIKE @Nome_PSR


Follow in attachment

Ricardo
Top achievements
Rank 1
 asked on 18 Apr 2013
2 answers
73 views
I use VB 2008... telerik report Q1 2013 trail....
when i drog a shape to report  ...... the visual studio crash right now..
if i click a shape already in a rerport.... crash crash!!!!! 
so ................... this is a big bug~~
Stef
Telerik team
 answered on 18 Apr 2013
1 answer
57 views

Using Silverlight, I can show a simple telerik report passing parm using code like below.  What I need to do is generate the same report for a different list of subjects.  I need to be able to print them all at the same time.  I was going to try to use a report book for this.  Would this make sense in the situation?  How do I add/pass all the parameters to the report book?  I'm guessing I would need to pass all the parameters plus the list of subjects and then in the report book, programatically loop through the subjects and add a new report for each one?

public FormLetterBasicReportViewerView()
       {
           InitializeComponent();
 
           reportViewer1.RenderBegin += new RenderBeginEventHandler(reportViewer1_RenderBegin);
       }
 
 
       void reportViewer1_RenderBegin(object sender, RenderBeginEventArgs args)
       {
           args.ParameterValues["LetterDate"] = CurrentViewModel.FormLetterInformation.LetterDate;
           args.ParameterValues["Greeting"] = CurrentViewModel.FormLetterInformation.Greeting;
           args.ParameterValues["ReplyToName"] = CurrentViewModel.FormLetterInformation.ReplyToName;
           args.ParameterValues["ReplyToAddress"] = CurrentViewModel.FormLetterInformation.ReplyToAddress;
           args.ParameterValues["ReplyToPhoneNumber"] = CurrentViewModel.FormLetterInformation.ReplyToPhoneNumber;
           args.ParameterValues["MailToName"] = CurrentViewModel.FormLetterInformation.MailToName;
           args.ParameterValues["MailToAddress"] = CurrentViewModel.FormLetterInformation.MailToAddress;
           args.ParameterValues["Re"] = CurrentViewModel.FormLetterInformation.Re;
           args.ParameterValues["Paragraphs"] = string.Join("\n\n", CurrentViewModel.FormLetterInformation.Paragraphs);

                ...
IvanY
Telerik team
 answered on 18 Apr 2013
1 answer
231 views
Is this documented anywhere? A lot of forum posts make reference to this, but I haven't been able to find it in the documentation.
IvanY
Telerik team
 answered on 18 Apr 2013
1 answer
100 views
How can you change the chart type for the new graph object through the Visual Studio designer?  Your documentation only show how to change through the standalone report designer. 

Thanks
Chavdar
Telerik team
 answered on 18 Apr 2013
1 answer
126 views

Hi,

 I'm using Telerik report. How could i set vertical column line in report

See my report image

Advance & Thanks

Ansari.
Stef
Telerik team
 answered on 17 Apr 2013
1 answer
96 views
Using version 7.0.13.220. Have created a barebones ASPX based on the sample code from the 'Using Telerik Web ReportViewer in ASP.NET MVC application' and the response from here.
<html style="height: 100%">
<head id="Head1" runat="server"></head>
<body style="height: 100%">
<form id="Form1" runat="server" style="height: 100%" method="post" action="">
<div id="Content1" style="border: solid 2px red; height: 100%;">
<telerik:ReportViewer ID="ReportViewer1" runat="server" Height="100%" Width="100%"></telerik:ReportViewer>
</div>
</form>
</body>
</html>

Also using the report from the sample code mentioned earlier.

When I view the page in IE9, I get the grey menu bar across the top of the screen and nothing else. I can then export it to other formats (PDF, Word, etc.) and the report shows correctly. If I look at the report in Chrome or Firefox, the report shows correctly in the browser and exports. Any idea what's holding up IE?

Chavdar
Telerik team
 answered on 17 Apr 2013
1 answer
105 views
Hello,

I'm working with a bar chart, and am having an issue with the ChartSeries labels.  It appears that the labels are constrained to the inner Chart, and are not allowed to extend out into the rest of the PlotArea.  The attached file "telerik chart labels 1.jpg" shows my desired behavior (taken from an existing report written using a different tool) - notice that the labels for TX and NM extend outside of the inner chart area.   "telerik chart labels 2.jpg" shows the results using Telerik Reporting.  Here you see that TX and NM are constrained to the inner Chart rectangle.

Is there a setting somewhere that would allow me to achieve the desired behavior?  I have searched extensively on these forums and on Google, StackOverflow, etc., to no avail.

Thanks!

Scott
Chavdar
Telerik team
 answered on 17 Apr 2013
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?