Hello together
Recently, we switched to the HTML 5 report viewer and XML reports which are part of a web site project. Now I wanted to use a custom user function to get a list of recursive nodes for use in an SQL query.
Now, how to access this function inside our web site? I guess, since the reports / report viewer are running inside the web site project, this should be possible?
In which scope is the report / report viewer / report processor running?
When I try to access a function from a separate assembly, this is working. But then I'm unable to access the classes from the web site which are representing the node hierarchy to use.
Thanks for any advice on this!
Hello
we use MVC and Html5 and we use telerik report but our customer want to design report how can i do it??
In your demos isn't it Like StimulSoft
thanks a lot Telerik...
Abbas Mirzaee
Hi,
I've got a user defined functions which is included in a EncounterDatasource.dll below is the code
[Function(Category =
"My Functions"
, Namespace =
"My"
,Description=
"Get array item"
)]
public
static
string
GetArrayItem(
string
[] values,
int
index)
{
return
values[index];
}
My problem is upon deployment it cause error in the fields using the said functions. The error is
An error has occurred
while
processing TextBox
'textBox81'
: The expression contains
object
'My'
that
is
not defined
in
the current context.
On the Telerik Report Designer its working fine since I've able to add the dll reference in the Telerik.ReportDesigner config but not on the application its not working. I've also made a reference to the dll from my project and make sure it reside with the report. What would be the possible cause of this and how would I deploy report using user defined functions from external dll?
Regards,
Jordan
Our requirement is to show excel icon and pdf icon for easy access, ability to pass parameter directly instead of dropdown similar to print icon
<li><a data-command="telerik_ReportViewer_print" title="Print" href="#"><i class="fa fa-print icon-print"></i></a></li>
we need to show excel and pdf similar to print icon in template.​
what data-command do we use, i dont see one.
http://www.telerik.com/help/reporting/html5-report-viewer-data-attributes.html
also if we have export in dropdown list how do we control the styles..need to update z-index and its not working for us.
<div class="k-animation-container" style="width: 82px; height: 27px; margin-left: -2px; padding-left: 2px; padding-right: 2px; padding-bottom: 4px; overflow: visible; display: block; position: absolute; z-index: 10002; top: 29px; left: 0px;"><ul data-command-list="export-format-list" class="k-group k-menu-group k-popup k-reset k-state-border-up" role="menu" data-role="popup" style="display: block; position: absolute; font-size: 12px; font-family: abc-regular; font-stretch: normal; font-style: normal; font-weight: 400; line-height: 15px;"><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="PDF" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>Acrobat (PDF) file</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="CSV" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>CSV (comma delimited)</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="XLS" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>Excel 97-2003</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="XLSX" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>Excel Worksheet</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="PPTX" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>PowerPoint Presentation</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="RTF" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>Rich Text Format</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="IMAGE" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>TIFF file</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="MHTML" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>Web Archive</span></a></li><li class="k-item k-state-default" role="menuitem"><a data-command-parameter="DOCX" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>Word Document</span></a></li><li class="k-item k-state-default k-last" role="menuitem"><a data-command-parameter="XPS" data-command="telerik_ReportViewer_export" href="#" class="k-link"><span>XPS Document</span></a></li></ul></div>​
Hello,
Printing from Microsoft Edge doesn't look promising in general right now. Microsoft and thousands of users seem to indicate that it doesn't work correctly.
That being said has Telerik looked into getting the print dialog to come up in Edge? As of now the print button causes a PDF to download much like it did with Firefox some years back. I'm wondering if there is a similar workaround for Edge.
Thank you!
Hi all,
I have an assembly with some user-defined functions. To use it in our another project (and in VS designer) i had to add this snippet to my config(s):
<Telerik.Reporting>
<AssemblyReferences>
<add name="MyAssemblyName" version="1.0.0.0" culture="neutral" publicKeyToken="null" />
</AssemblyReferences>
</Telerik.Reporting>​
All this worked fine until we decided to have real version numbers for all assemblies in our solution. So, one day, we replaced
[assembly: AssemblyVersion("1.0.0.0")]
with
[assembly: AssemblyVersion("1.0.*")]
in the AssemblyInfo.cs file of MyAssemblyName project. Now Telerik Reporting cannot resolve MyAssemblyName because of the wrong version number.
So, my question is: is there any way to have an AssemblyReference without specifying the exact version number?
Thanks in advance.
P.S. I've tried omitting "version" altogether, specifying version ranges, wildcards etc. Nothing helps :-(.
one of my my data source object List<int> categoriesIds = {1, 2, 3}
I want using multiple value parameters filter the datasource
I using Field.Categories(List<int>) in = Parameters.categories.Value, but this is not working