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

Ideas About Implementing Search Functionality in Telerik Report from Our side not From Telerik Side !!

9 Answers 140 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Maged
Top achievements
Rank 1
Maged asked on 22 Jul 2009, 08:04 AM
Hello all,
one of the most disadvantages of Telerik Reporting solutions versus Crystal Reports is that it does not support search functionality for a specific string in the Report Tools.

so my question is there any work around for this issue, i need my users to search for a text inside a report. did anybody solved this or not yet ?

if not i have some ideas but i will need anybody from Telerik Team to help me a little.

but first, anybody answer me , is there anyone who already invented a way to search inside a telerik report viewer (mainly for windows application). i dont want to reinvent the wheel after all.

thx in advance

9 Answers, 1 is accepted

Sort by
0
Maged
Top achievements
Rank 1
answered on 22 Jul 2009, 02:02 PM
anybody knows if there is already a way to implement text search inside Telerik report Viewer ?
0
Steve
Telerik team
answered on 22 Jul 2009, 04:15 PM
Hello Maged,

As seen from Known limitations of Telerik Reporting forum thread, currently there is no search available in Telerik Reporting.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Maged
Top achievements
Rank 1
answered on 24 Jul 2009, 08:38 PM
dear sir,
thank you for your reply and sorry i didnt see it in the limitation pages. My Mistake.

now regarding the idea for alternative solutions

is there any event in the report where i can capture the drawing event of each text box in the report and access its value and maybe corrdination or page number while it is being drawn.

My Idea is about indexing all report content in XML file while it is being drawn so i can later implement the search inside the xml file and then goes to the coordination saved with each value inside the xml file.

for example my xml file should be as following for each field in the report
<Field>
    <Value>Mark Tomas</value>
    <page>1</page>
    <coordinates>150,100</coordinates>
</field>
<Field>
    <Value>52 Years</value>
    <page>1</page>
    <coordinates>150,120</coordinates>
</field>

and so on

this way i can search the xml file later and then lock on the value inside the viewer.

i know this will be applicable only in Windows Applications which will be great if it can be done

any ideas how can i implement it.

thank you and i hope i am clear in my explanation

Regards

0
Maged
Top achievements
Rank 1
answered on 26 Jul 2009, 07:58 AM
any feedback ?

Thank you in advance
0
Steve
Telerik team
answered on 27 Jul 2009, 07:59 AM
Hello Maged,

There is no easy workaround for search functionality, otherwise we would have provided it as a reference to everyone interested.
Implementing out of the box search is in our TODO list, but due to the dynamic environment we work in, we cannot engage with a time frame for its implementation. But rest assured that it would make it for a subsequent version of Telerik Reporting.

Thank you for the patience and understanding.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Maged
Top achievements
Rank 1
answered on 27 Jul 2009, 08:47 AM
 thank you for your answer,

You havent answer my question ( is there an event where i can catch the telerik textbox while it is being drawn in the report creation )  and yes i know now there is no out of the box search functionality available. but could you please address my question.

Thank you for your patience

Regards
0
Maged
Top achievements
Rank 1
answered on 29 Jul 2009, 10:28 AM
any answers by anybody  ?
0
Steve
Telerik team
answered on 30 Jul 2009, 12:48 PM
Hi Maged,

There is no such exposed event and we would rather not expose one to avoid messing up with the report processing and rendering. What you can do for the time being is use Conditional Formatting e.g.:

Expression                                                      Operator                                   Value
==========================================================================
=Fields.ProductName.ToLower()                 Like           =IIF(LEN(Parameters.Search) > 0, '%' + Parameters.Search.ToLower() + '%', '')

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Maged
Top achievements
Rank 1
answered on 30 Jul 2009, 12:55 PM
that is not exactly what i was looking for, but your answer includes a very fine trick.

I loved it, thank you for tip and the screen shot.

Regards
Tags
General Discussions
Asked by
Maged
Top achievements
Rank 1
Answers by
Maged
Top achievements
Rank 1
Steve
Telerik team
Share this question
or