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

2 Views

2 Answers 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Antonio Carlos
Top achievements
Rank 1
Antonio Carlos asked on 10 Oct 2016, 10:33 PM
hello have a report with two views (2databases), but need guidance on how to make a filter in a Table that is pointed to the second view ... that is, in the view of the original conté report, some break groups, and details of the report put the Table of the second view, now I need to filter this second view the fields that are related in one view ...

2 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 11 Oct 2016, 08:44 AM
Hi Antonio,

Your question is forwarded to Telerik Reporting forum.

If you are using Telerik Reporting, you can add filters in the Table.Filters collection, or parameterize the data-retrieval method and map its arguments to report parameters or other expression. For more details, see Filtering Data.

The filtering can be based on a report parameter or a container's field by using ReportItem.DataObject in expression - How to use the ReportItem.DataObject property in expressions. If you have a data model exposing relations between objects, you can directly use the data-binding approach from How to Databind to Collection Properties.

Regards,
Stef
Telerik by Progress
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 Feedback Portal and vote to affect the priority of the items
0
Antonio Carlos
Top achievements
Rank 1
answered on 11 Oct 2016, 11:59 AM
Hello Friend
grateful for the attention. please me best exemplifies this solution, because
I am a layman in this programming part in telerik.

I am seen in this example:
public class Phone
  {
      public string Number {get; set; }

      public string GetFormattedNumber ()
      {
         Number.Replace return ( '', '-');
      }
  }

please guide me how and where best to create this function and which form
take the field bound by parameter.

thank you very much

Antonio Carlos


Tags
General Discussions
Asked by
Antonio Carlos
Top achievements
Rank 1
Answers by
Stef
Telerik team
Antonio Carlos
Top achievements
Rank 1
Share this question
or