This is a migrated thread and some comments may be shown as answers.

multiple problems

1 Answer 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Jaroslav asked on 21 Oct 2010, 08:46 AM

I have following problems with telerik reporting (web report), so every help is appreciated.

1. Visibility with conditions is not working properly - when textbox, panel or datatable is by default set to visible=false,
then conditions won't trigger to show it (condition is ok, because it works other way -> default=visible, script hides it)

2. When two panels are same width and height, and are overlapping completely, one is hidden, one isn't (with script) then it causes rendering problems (none of them is visible)

3. Impossible to hide datatable column with conditions, even if i can set condition on table title and column record definition cell.

4. Impossible to control position of the item using conditions. (this is a wish to feature) Ideally telerik should be able to control with conditions every parameter of an object, or atleast those that are related to showin/rendering.

5. Instead of this semi-script language, full c# lang. syntax could be supported including direct calling public methods from any c# object

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 22 Oct 2010, 04:47 PM
Hi Jaroslav,

I will answer your question in the order they were raised:

  1. The formatting rule's Visibility property has a default value of True and in order to be serialized you have to uncheck the checkbox and then check it again. We know about this behavior and we will try to improve it in a subsequent version of Telerik Reporting.
  2. As we have elaborated in the Design Considerations for HTML Rendering: report items are located in different cells and they cannot overlap. If you have overlapping items the result of these items would be undetermined. In case of two or more items that have exactly the same locations only the first item is rendered, the others would not be rendered at all. In general avoid having overlapping report items at design-time if you plan to render the report in HTML.

  3. The Table item is data driven and in order to hide a column you have to filter the group (you can dynamically hide static groups). To hide the whole static column open the Group Explorer in Extended Mode (Display Mode button -  Extended Mode).  Select the table's header textbox and the related static column group should be highlighted. Open Edit Table Group dialog and add an appropriate filter. 

  4. You can control the report items location with Binding for the Location property. Just add an User Function that returns Telerik.Reporting.Drawing.PointU object and accepts two parameters x and y. Consider the following one:
    public static object newLocation(double x, double y)
        return new Telerik.Reporting.Drawing.PointU(
            new Telerik.Reporting.Drawing.Unit(x, Telerik.Reporting.Drawing.UnitType.Inch),
            new Telerik.Reporting.Drawing.Unit(y, Telerik.Reporting.Drawing.UnitType.Inch));
    Then you have to build and now you can use the newLocation user function for a binding expression:
    Property path   Expression
     Location  = newLocation(Fields.X, Fields.Y)
  5. Currently we don't have plans to change the expressions language because a lot of our customers are not accustomed with C# and use VB instead. If you feel uncomfortable with the Expressions build in script language our suggestion would be when possible to use User Functions instead.
Kind regards,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question