Telerik Forums
Reporting Forum
2 answers
201 views
Hello! 

I am attempting to create a custom user function as per: http://www.telerik.com/help/reporting/expressions-user-functions.html

I created my custom assembly, and was able to successfully get the new function to show up in the standalone Telerik Report Designer Expressions Window. 

However, I can't seem to get this same custom assembly to show up in the expressions window in the Visual Studio Report Designer for Telerik. I was not able to find the right search terms to find a solution to my issue anywhere. I'm sure there is something simple that I am missing to have the visual studio report designer load the custom assembly in the Expressions Window. Can anybody help me out? I've added a reference to the assembly DLL file in my project, and I've updated app.config as below:

<?xml version="1.0" encoding="utf-8" ?><br>
<
configuration><br>   
<
configSections><br>     
<
section<br>             
name="Telerik.Reporting"<
br>             
type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"<
br>              allowLocation="true"<br>             
allowDefinition="Everywhere"/><
br>   
</
configSections><br>  <br>  <br>   
<
connectionStrings><br>    my connection info in here! <br>    </connectionStrings><br><br

<
Telerik.Reporting><br>   
<
AssemblyReferences><br>     
<
add name="CustomAssembly"/><br>   
</
AssemblyReferences><br
</
Telerik.Reporting> <br>  
<
br></configuration>

Any guidance that could be offered would be greatly appreciated as I have exhausted everything I can think of. 

 I am using Telerik 2014 Q1 and Visual Studio 2010. 

Thank you! 

Keith
Top achievements
Rank 1
 answered on 31 Jul 2014
1 answer
115 views
Good day,

i have a report created in the designer with a description field in the Body/Detail section of the report.  I now have to highlight the row should the description contain any of 6 stings...  

How would i setup my conditional formatting rule to contain OR....e.g.  description field Contain string like "X" OR "Y" OR "X" or "A" or "B" 

Kind Regards,
M
KS
Top achievements
Rank 1
 answered on 31 Jul 2014
13 answers
3.5K+ views
Hi,

When exporting a report to CSV it used a comma as field delimiter but I would like to use a semicolon instead. I did not find a way to change the delimiter. The documentation gives some hope as it  states: "The default field delimiter string is a comma (,)." , so there should be a way to use a non-default delimiter instead. Does anyone know the trick?

Regards,

Daniel


KS
Top achievements
Rank 1
 answered on 31 Jul 2014
1 answer
74 views
Hi there, 
I'm having an issue on printing reportviewer. 
I tried to follow this ticket: http://www.telerik.com/forums/print-multiple-reports-directly-to-printer-from-silverlight

anyway it gives me the error in the attached file. 

and here's my reportviewer code:

<Silverlight:ReportViewer x:Name="SalesOrderReportViewer" HorizontalAlignment="Left" VerticalAlignment="Top" Height="603" Width="583" Report="PurchaseOrderReports.MasterSalesReceipt, PurchaseOrderReports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ReportServerUri="../ReportService.svc" UseNativePrinting="False"/>



Stef
Telerik team
 answered on 31 Jul 2014
2 answers
319 views
I am adding reporting to a website. Everything is in place for the WebApi, but I am running into a strange issue as demonstrated in the attached screenshot. I can check that everything is in place by checking the api/reports/formats call I get the expected results. However, when trying to display a report in the reportsViewer the template is found but the call to api/reports/clients returns nothing. I get no errors or response at all and firebug shows that the browser waits for a return that never comes.

I'm using fairly standard MVC4 setup. I have been able to get reporting working in a bare test site, but run into this problem on the full development site.

Anyone came across similar and solved?
Stef
Telerik team
 answered on 30 Jul 2014
3 answers
1.1K+ views
I have a report bound to an ObjectDataSource, which is bound to a strongly-typed table adapter as suggested by "choose business object" dialog. (When I choose "data components only," the dialog suggests my table adapter--which makes sense.) The table adapter works--I see the data I expect when previewing the data in the DataSet designer.

But my report is not seeing the available fields. I drop a text box on the report, go to its Value property and invoke the builder. The Fields node is empty. This happened in both my old version 4.x of Telerik Reporting and also the latest trial version I downloaded just now to see if it worked better.

Am I missing something? I have done this successfully in the past with a SqlDataSource--that is get the fields come up to select. But the ObjectDataSource is not showing me any fields, so I'm stumped.
Chandan Dey
Top achievements
Rank 1
 answered on 30 Jul 2014
2 answers
385 views
When using the Line Graph, how can I avoid bunching of labels on the X-Axis. I looked for Step and Scale, but I can't seem to avoid what is happening in the attached image.

I used this example in the document as a starting point, and the XAxis is a CategoryScale version 2014-Q1.
http://www.telerik.com/help/reporting/graphhowtocreatelinechart.html 


Thank you
NerdBrick
Top achievements
Rank 1
 answered on 29 Jul 2014
1 answer
683 views
Following the instructions on this page:

http://www.telerik.com/help/reporting/mvc-report-viewer-extension-embedding.html

I am unable to add the reportviewer to a view.  Here is the code and the error:

@(Html.TelerikReporting().ReportViewer()
       .Id("reportViewer1")
       .ServiceUrl("/api/reports/")
       .TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.htmll")
       .ReportSource(new UriReportSource() { Uri = "Product Catalog.trdx" })
       .ViewMode(ViewModes.INTERACTIVE)
       .ScaleMode(ScaleModes.SPECIFIC)
       .Scale(1.0)
       .PersistSession(false)
       )

Error 1 'System.Web.Mvc.HtmlHelper<dynamic>' does not contain a definition for 'TelerikReporting' and no extension method 'TelerikReporting' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<dynamic>' could be found (are you missing a using directive or an assembly reference?) c:\VS2012Apps\FastTrack2\FastTrack.MVC\Views\Reports\Index.cshtml 26 8 FastTrack.MVC

I have verified that the references have been added and the namespaces have been added to the web.config file.  This is a trial version of reporting version Q2 2014 8.1.14.618.  The project is MVC 4, .net framework 4.5.  I have cleaned/rebuilt/deleted obj directories, but nothing eliminates that error as well as these additional errors (which I'm sure are related:

Error 2 The type or namespace name 'UriReportSource' could not be found (are you missing a using directive or an assembly reference?) c:\VS2012Apps\FastTrack2\FastTrack.MVC\Views\Reports\Index.cshtml 30 26 FastTrack.MVC

Error 3 The name 'ViewModes' does not exist in the current context c:\VS2012Apps\FastTrack2\FastTrack.MVC\Views\Reports\Index.cshtml 31 18 FastTrack.MVC

Error 4 The name 'ScaleModes' does not exist in the current context c:\VS2012Apps\FastTrack2\FastTrack.MVC\Views\Reports\Index.cshtml 32 19 FastTrack.MVC


Any help would be appreciated.
Bob
Top achievements
Rank 1
 answered on 29 Jul 2014
5 answers
1.3K+ views
Hi!

I am creating dynamic report based on this example.
Create Dynamic Textbox

It works fine except the column alignment problem.

Do you have any property that set the column width automatically?
i.e. It takes the maximum item text length and aligns the columns automatically.

I am trying to set the size of each text based on the text size but columns are still not aligned properly.

Do you have any example i can follow for this?

Thanks for you support

Regards,

Vaibhav



Stef
Telerik team
 answered on 29 Jul 2014
1 answer
339 views
i followed this link (http://www.telerik.com/help/reporting/mvc-report-viewer-extension-embedding.html) to integrated the telerik reporting Q2 2014 in my mvc application. In my homecontroller index view to design the html telerik reportviewer. I create a blank report and set the report to reportviewer reportsource. In the report i get the result to use web api service and  bind the collection of result to datasource in the NeedDataSource event, the event also fire and the datasource also accept the values but the problem is the result is not showing in my report viewer yet
Stef
Telerik team
 answered on 28 Jul 2014
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?