Telerik Forums
Reporting Forum
2 answers
303 views
Hi,

Is it possible to bind a ReportFilter.In operator's datasource to an Enum? e.g.

parameter.AvailableValues.DataSource = Enum.GetNames(typeof(CompletionStatus));

I am binding to an ICollection of DTO's hence the field value will be an enum. 

I get the following error:

The expression contains object 'CompletionStatus' that is not defined in the current context.



Many thanks
Stuart
Top achievements
Rank 1
 answered on 10 May 2010
1 answer
100 views
Hi,
   I am using a new font name(Eras Bk Bt)  in report.This font name is displayed in the browser but when i export to pdf new font name is not supported.

Regards,
Narmi.

Peter
Telerik team
 answered on 10 May 2010
1 answer
54 views
a suggestion.  perhaps this is already on the enhancement list somewhere.

when Im working on a report and im zoomed or the width of the report goes beyond the width of my monitor, sometimes I need to move a control to the far left or far right of my report.  in most other report IDEs, if you drag a control to the edge of the screen, the screen will scroll.  this allows you to move controls easily without having to pick-up / drag / drop / scroll / pick-up / drag / drop / scroll ... etc...
Svetoslav
Telerik team
 answered on 10 May 2010
3 answers
196 views
I attempted to create a Windows service to host the Telerik.Reporting.Service.ReportService. Everything seemed to work fine until I tried to start the service, and received this error:

"Service cannot be started. System.InvalidOperationException: This service requires ASP.NET compatibility and must be hosted in IIS.  Either host the service in IIS with ASP.NET compatibility turned on in web.config or set the AspNetCompatibilityRequirementsAttribute.AspNetCompatibilityRequirementsMode property to a value other than Required."

Can we please have a build that does not require IIS/AspNetCompatibility? I am building a Silverlight application, so the ASPX compatibility is not important for me. We were thrilled to see the Silverlight report viewer, thinking we could eliminate IIS as a requirement. This is the final obstacle that must be resolved to use Telerik Reporting in our application.

Regards,
Brian
Damian Slee
Top achievements
Rank 1
 answered on 10 May 2010
6 answers
604 views

Hi.

 This is suriya,

Now i have a problem in rendering the output in pdf., i.e., in runtime i display some of the rows in BOLD Font for my comfortable..

but in the output it is rendered correctly., but when i try to take printout or render the output in the pdf means it is display ine the ordinary

font.,

plz rectify my problem very fast..

Bye..

By

Suriya

Narmatha P
Top achievements
Rank 1
 answered on 08 May 2010
4 answers
263 views
I've setup a report, and it opens fine in the preview pane, even exports fine (via the preview pane). However when I attempt to programmatically export this report directly to PDF the font types are not retained. They seem to default to MS Sans Serif... any idea why this might happen? I even tried manually specifying deviceInfo["FontEmbedding"] = "Full"; before I render the report (via a hastable), and it didn't help.
Narmatha P
Top achievements
Rank 1
 answered on 08 May 2010
1 answer
232 views
Telerik -

the textbox context menu item 'Conditional Formatting...' is a bit misleading ...  it seems like it really means Conditional style.  I have 2 fields in a dataset (value and rowtype).  one can have both numeric and char values, the other column is a format specifier string.  So depending on the value of the first column I want to format the second column.  currently I am doing this with expressions on the textbox but as you can imagine its alot of IIFs to test for the format specifier.

It would really help if i had a formatting button on the conditional expression dialog ...

photo attached ... see! ive already done 1/2 the work for you ;-)

Milen | Product Manager @DX
Telerik team
 answered on 07 May 2010
1 answer
146 views
I am attempting to write a report that uses 4 cascading parameters. The first two parameters are set to "Allow Null" = False.

The second two are set to "Allow Null" = True.

The report works fine until I add the fourth parameter. When the fourth parameter is added, the third parameter looses all functionality and can not even be unchecked. Can somone have a look at my parameters and let me know if you see anything wrong?

Main Filter:
=Fields.Regiment = =Parameters.Regiment.Value AND =Fields.StatusText = =Parameters.OpenClosed.Value AND =Fields.Battalion = =IsNull(Parameters.Battalion,Fields.Battalion) AND =Fields.Battery = =IsNull(Parameters.Battery,Fields.Battery)

Parameter 1 Regiment:
Display Member:  = Fields.Regiment
Value Member = Fields.Regiment
Filter = None

Parameter 2 OpenClosed

Display Member:  = Fields.StatusText
Value Member = Fields.StatusText
Filter = Fields.Regiment = =Parameters.Regiment.Value

Parameter 3 Battalion
Display Member:  = Fields.Battalion
Value Member =  Fields.Battalion
Filter = Fields.Regiment = =Parameters.Regiment.Value AND =Fields.StatusText = =Parameters.OpenClosed.Value
AllowBlank = True
AllowNull = True

Parameter 4 Battery
Display Member:  = Fields.Battery
Value Member  = Fields.Battery
Filter
=Fields.Regiment = =Parameters.Regiment.Value AND =Fields.StatusText = =Parameters.OpenClosed.Value AND =IsNull(Parameters.Battalion,Fields.Battalion)
AllowBlank = True
AllowNull = True
Peter
Telerik team
 answered on 07 May 2010
5 answers
678 views
Hi!

I am bagning my head against Crosstab here, I am probably missing some important insight. Here are a bunch of questions:

1. Why does the "Row Groups" tray (or what you call it) sometimes show "(RowGroup)" inside parenthesis?
2. Why does a crosstab produced by the wizard seemingly create "double" row groups - one within parentheses and one below that without parentheses?
3. Why do I get "static" "droppings" in my tray layout? They seem to appear when I add/remove rows etc.
4. When I add a row group (child) it seems to add it to the *right or left* of the selected group cell - why not below and above? And how am I supposed to move it afterwards to get it below?

My context: I am creating a report with 3 row groups, stepped layout. Most of this has worked fine - although it seems quite easy to "break" the model so that you get odd error messages and occasionally hanging VS08. Anyway, this is approximately what I want:

Heading1
       Heading2
                 Heading3                              10       20       30
                 Heading3                              10       20       30
       Total                                                 20       40       60

This is quite analogous to the product sales crosstab example. I can't understand what to select and then what menu choice I am supposed to use to create that "Total" above.

regards, Göran
Milen | Product Manager @DX
Telerik team
 answered on 07 May 2010
1 answer
504 views
I am using the folowing business object as the data source of my report

    class BlendingModel  
    {  
        private List<BlendingModelRow> _dataRow = new List<BlendingModelRow>();  
        public DateTime StartDate { get; set; }  
        public DateTime EndDate { get; set; }  
        public List<BlendingModelRow> dataRow { get { return _dataRow; } set { _dataRow = value; } }  
    }  
 

How do I referrence the items in dataRow on the report.  In the text box on the report I have =dataRow.W5_Runtime.  When I run the report I get an error that W5_Runtime does not exist.  W5_Runtime is a member of dataRow.

Thanks,

Jim
Milen | Product Manager @DX
Telerik team
 answered on 07 May 2010
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?