Hi,
I would like to have a list of objects which all inherit of the same type but can have some specific properties.
Exemple:
public
class
MyPrimaryClass
{
public
int
CommonProperty {
get
;
set
; }
}
public
class
MyInheritedClass1 : MyPrimaryClass
{
public
int
SpecificProperty1 {
get
;
set
; }
}
public
class
MyInheritedClass2 : MyPrimaryClass
{
public
int
SpecificProperty2 {
get
;
set
; }
}
And I would like to display these specific properties and if possible display each object in a specific format. Do you have an idea of how I can do that using telerik reporting ? I can't find any example or thread on this topic, but maybe I just didn't use the right key words ;)
Thanks and regards,
Olivier
Hello,
i have a field returning Boolean Value (True/False), and i want to Sum another field Named (Total) in the footer section when my Boolean Value return TRUE for each record in the detailed section
Thanks.
this.subReport1.Bindings.Add(new Telerik.Reporting.Binding("ReportSource.DataSource", "=ReportItem.DataObject.Persons"));
but using the Standlone Designer (TRDX file), for the binding, he cannot find DataSource ?
...
<SubReport Name="subReport2">
<ReportSource>
<UriReportSource Uri="ReportLines.trdx">
</UriReportSource>
</ReportSource>
<Bindings>
<Binding Path="ReportSource.DataSource" Expression="=Fields.Lines" /> ----- .DataSource is not found
</Bindings>
</SubReport>
...
thank you for helping
Steffen
I have two List : 1) ListPolicies, (Outer list, parent list)
2) ListBrokers (inner list, child list)
Class DataBind
{
public list <Policy> PolicyList {get;set;}
}
class Policy
{
public PolicyNumber {get;set;}
public PolicyName {get;set;}
public List<Broker> {get;set;}
}
class Broker
{
public Name {get;set;}
public Address {get;set;}
}
bind data to parent list
ListPolicies.DataSource = defaultReportViewModel.PlanProvider.PolicyList;
Now i want to bind data childlist, how to achieve this thing???
How do I pass culture info from client to server? I'm using the js library to initialize the report viewer (telerik_ReportViewer).
I had a look the doc here here but I don't see how this can be passed to the server.
I want to pass the culture info to the reporting service so that I can set the culture of the running thread correctly.
Thanks
Hello
I Have a column that has data in the date - HH:MM format, example "00:22", how to sum all the values in that column.
One more thing the data is coming from a JsonDataSource that has null values in date column, using the (IsNull, ??, IIf) to check for null does not seem to work. for example: =IIF(Fields.actualWorkHrs Is NULL, "T", "F") always returns falls even when there are null values in the actualWorkHrs field
thanks.
Hello, I have these 3 classes
Public MyClass1
{
Public string Name { get; set; }
Public Class2 MyProperty { get; set; }
…
}
Public Class2
{
Public List<Class3> productList { get; set; }
...
}
Public Class3
{
Public int productCode { get; set; }
Public string productDescription { get; set; }
...
}
My Object DataSource is "MyClass1". I need to list "productList" in my DetailSection but I have some errors.
In the image below, the result expected
I've finished converting our existing Telerik reporting application to the HTML5 report viewer, once deployed to the server the app starts throwing a 404 error.
here's a list of what I'm using and what's installed on both the Dev machine and the Server (IIS 7.0):
I used Fiddler to inspect and compare the requests/responses, and here's a copy:
Dev Machine
200 HTTP localhost:64290 /Viewer.aspx?c=ddee2936-b35f-4766-b0e8-37340e5e7df7&u=d94ae397-e4a2-46fc-b95b-1308f5c85c8e&r=5c1dea16-47ff-458c-9a79-e8fb96233a02 24,933 private text/html; charset=utf-8 iexplore:15028
200 HTTP localhost:64290 /js/jquery-1.10.2.js 108,002 application/javascript iexplore:15028
200 HTTP localhost:64290 /ClientThemes/Tracker/kendo.css 14,833 text/css iexplore:15028
200 HTTP localhost:64290 /WebResource.axd?d=mc-7ZkzJDFkxx81trXXMYnKRFBj8nw... 13,215 public; Expires: Tue, 21 Mar 2017 13:19:11 GMT text/css iexplore:15028
200 HTTP localhost:64290 /WebResource.axd?d=eiUm-0avedYOJt0Pnasm6tHaVdNsY_... 91,511 public; Expires: Tue, 21 Mar 2017 13:19:11 GMT text/javascript iexplore:15028
200 HTTP localhost:64290 /WebResource.axd?d=U-QtGVIjXaG-VilkbaKZwpYORbfoTy... 53,503 public; Expires: Tue, 21 Mar 2017 13:19:11 GMT text/css iexplore:15028
200 HTTP localhost:64290 /WebResource.axd?d=DqDmbWgg4b-vCGBbWHkNnsxNjZkW7Z... 24,238 public; Expires: Tue, 21 Mar 2017 13:19:11 GMT text/javascript iexplore:15028
200 HTTP localhost:64290 /Templates/tSimple.html 1,390 text/html iexplore:15028
IIS Server
200 HTTPS reportingURL /Viewer.aspx?c=ddee2936-b35f-4766-b0e8-37340e5e7df7&u=d94ae397-e4a2-46fc-b95b-1308f5c85c8e&r=5c1dea16-47ff-458c-9a79-e8fb96233a02 46,481 private text/html; charset=utf-8 iexplore:12336
200 HTTPS reportingURL /js/jquery-1.10.2.js 273,990 application/x-javascript iexplore:12336
200 HTTPS reportingURL /ClientThemes/Tracker/kendo.css 70,577 text/css iexplore:12336
200 HTTPS reportingURL /WebResource.axd?d=U-QtGVIjXaG-VilkbaKZwi-WFq2bsW... 243,472 public; Expires: Tue, 21 Mar 2017 14:53:06 GMT text/css iexplore:12336
200 HTTPS reportingURL /WebResource.axd?d=eiUm-0avedYOJt0Pnasm6rXLcuIS9X... 213,589 public; Expires: Tue, 21 Mar 2017 14:53:06 GMT text/javascript iexplore:12336
200 HTTPS reportingURL /WebResource.axd?d=mc-7ZkzJDFkxx81trXXMYjjRyE7-m5... 59,114 public; Expires: Tue, 21 Mar 2017 14:53:06 GMT text/css iexplore:12336
200 HTTPS reportingURL /WebResource.axd?d=DqDmbWgg4b-vCGBbWHkNnrPy2xQHYi... 67,797 public; Expires: Tue, 21 Mar 2017 14:53:06 GMT text/javascript iexplore:12336
200 HTTPS reportingURL /Templates/tSimple.html 5,061 text/html iexplore:12336
404 HTTPS reportingURL /api/reports/resources/font/fonticons-css 1,245 text/html iexplore:12336
404 HTTPS reportingURL /api/reports/resources/styles/telerikReportViewer-css 1,245 text/html iexplore:12336
I've realized that I have 2 extra requests on my Server, and they are both returning 404 response
and here's my questions:
Your help is much appreciated,
Ghayth Hilal
Cannot self host telerik rest service as the ReportsController uses the HttpContext which is not available when self hosting
var appPath = HttpContext.Current.Server.MapPath("~/");
var reportsPath = Path.Combine(appPath, "Reports");
what is the recommended work around
Thanks
Hi,
I want to group some items in the combobox of my reports.
Please see the example( groupedCombobox.jpg ) , which I have attached.
I used horizontal lines to separate the groups.
But how can I realize that in a report parameter which is a combobox?
Have you an example project?
Regards