I posted this in the sticky above about updating but since those are ancient threads, I'm not sure they were noticed, so I apologize for the repost, but I need some help on this.
I'm updating to the Q2 2015 reporting tools in VS2015, and I'm having an issue with the many guides that are identical to this one:
http://www.telerik.com/support/kb/reporting/details/the-wpf-silverlight-report-viewer-is-blank-after-upgrading-from-version-prior-to-q1-2014-to-q1-2014-or-later
My problem is that when I add the following:
<ResourceDictionary Source="/Telerik.Windows.Themes.Expression_Dark;component/Themes/Telerik.ReportViewer.Wpf.xaml"/>
it squiggly underlines Telerik.ReportViewer.Wpf.xaml and tells me "(my path)\Assemblies\Telerik.Windows.Themes.Expression_Dark.dll\Themes\Telerik.ReportViewer.Wpf.xaml" path not found
I have 7 other identical lines, pointing to other xaml files and they all seem to be working fine.
I've updated all relevant references in my project to be sure I don't have lingering 2013 versions about, and all is well on that front.
It's just this one file that's not behaving.
To be more specific:
The guide post I linked above says "2. Add the respective xaml files for the desired theme. ..."
How/where are those xaml files to be added? We've been using this theme for over 2 years, but we don't have any of those xaml files anywhere in our solution currently.
Any suggestions?
Thanks!
Hey, quick question.
I was wondering if you guys have the Silverlight Telerik Reporting in an online Nuget repository. I found some other Telerik packages but not these specific ones.
Right now we host the libraries we downloaded in our own Nuget package source but I would like to use the official one.
I can export reports in IE just fine, but when I try to export in Chrome or Fire Fox I get an error. I have found that I only get the error with reports that use a SqlDataSource because when I created a test report that did not get external data it exported ok; but when I added the SqlDataSource and had it pull from SQL Server then it would no longer export. It always displays just fine though... it just won't export unless I (or my clients) use IE.
I've also posted this on Stack Overflow: http://stackoverflow.com/questions/31250011/telerik-reporting-cant-export-in-chrome-when-using-sqldatasource.
It has 14 votes so apparently someone else is having this problem... but no answers :(
I have a Chart on a ASP.NET Web Forms report. The customer wants to see datetimes displayed in local time with no offset. However, we need the offset to prevent weird chart behaviors during Daylight Savings Time.
One solution would be to have the Value be a UTC DateTime field and the Text be a local DateTime field. Can I do this with Telerik charts? I do not see a way to set the Value and Text of each data point in the LineSeries.
I am trying to show a report in HTML5. I have setup the Web API and I am able to successfully call the API with the xxx/formats and xxx/clients URL. However the next calls, which are clients/{clientid}/parameters and clients/{clientid}/instances are failing with a 404 and no additional information in Fiddler (see attached).
I included the Web API into my existing Web API, so the format of the URL is different than what is documented in the tutorials, but that shouldn't matter.
I have also seen that the 404 may indicate that the report file cannot be found. I have the following setup:
In the controller, I have this statement
Dim
resolver =
New
ReportFileResolver(HttpContext.Current.Server.MapPath(
"~/Reports"
)).AddFallbackResolver(
New
ReportTypeResolver())
and I have in the project location a Reports sub folder which contains the file Report1.trdx
In the Web Application, I build the html that has to be added to the page as following. The most noticeable is the ReportSource which is set to Report1 (I have also tried Report1.trdx with the same result)
Can you help me to set this up?
"<div id=\"reportViewer1\" class=\"k-widget\"> "
+
" loading... "
+
"</div> "
+
"<script type=\"text/javascript\"> "
+
" $(\"#reportViewer1\") "
+
" .telerik_ReportViewer({ "
+
" serviceUrl: \"/api/"
+
"token/"
+ Credentials.getToken(
this
.mainViewModel.connection) +
"/"
+
this
.mainViewModel.connection +
"/"
+
"TelerikReports/\", "
+
" templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate-9.1.15.731.html', "
+
" reportSource: { "
+
" report: \"Report1\" "
+
" } "
+
" }); "
+
"</script> "
;
public
static
string
GroupDisplay(
int
GroupNumber, Telerik.Reporting.ReportParameterCollection parameters,
decimal
? RecordCenterKey,
decimal
? RecordUserKey, DateTime? BillDT_DateTime,
decimal
BillDT) {
switch
(GetGroupingForGroupNumber(GroupNumber)) {
case
ReportGrouping.None:
return
string
.Empty;
case
ReportGrouping.Centers:
return
CenterName(GetCenterKeyFromParameters(parameters), RecordCenterKey, GetViewSubCentersFromParameters(parameters));
case
ReportGrouping.Users:
return
CreateUserName(RecordUserKey);
case
ReportGrouping.Date:
return
CheckDate(GroupDate(BillDT_DateTime, BillDT));
default
:
return
string
.Empty;
}
}
Telerik.Reporting.ReportParameterCollection
instead of using every parameter separately is because there are 7 default parameters and many optional depending on the report, I want to use the same expression in all 40 so if something changes I can change the expressions in code for all of them in no time.