Page 1 of 2

Invoke Find-feature programmatically

Posted: Tue Oct 06, 2009 2:47 am
by munich
Hello,

in StiViewerControl you can enter a find criteria in the find tool and by clicking "Find Next" invoke the first search. Can this be done programmatically too?

:dumb:

Thanks for any help.

Invoke Find-feature programmatically

Posted: Tue Oct 06, 2009 5:12 am
by Edward
Hi,

We have the following public methods in a StiViewerControl:

InvokeToolFind();
InvokeFindNext();

Do you need an ability to fill the search text box programmatically too?

Thank you.

Invoke Find-feature programmatically

Posted: Tue Oct 06, 2009 8:19 am
by munich
Hi Edward,

yes, I need this too.

Thank you.

Invoke Find-feature programmatically

Posted: Tue Oct 06, 2009 3:38 pm
by Jan
Hello,

We have added new property to StiViewerControl - FindValue. Property will be available in next prerelease build.

Thank you.

Invoke Find-feature programmatically

Posted: Wed Oct 07, 2009 4:33 am
by munich
Hello Jan,

do I understand you right: After having the new proptery FindValue available, am I able to do a search for a given find criteria without showing the find tool? This is what I like to achive.

:biggrin:

I thank you very much in advance.

Invoke Find-feature programmatically

Posted: Thu Oct 08, 2009 12:13 am
by Jan
Hello,

You can use class Stimulsoft.Report.Viewer.StiFindHelper to make search without find bar.

Thank you.

Invoke Find-feature programmatically

Posted: Thu Oct 08, 2009 7:43 am
by munich
Hello Jan,

Stimulsoft.Report.Viewer.StiFindHelper works perfect! :biggrin:

I thank you very much.

Invoke Find-feature programmatically

Posted: Fri Oct 09, 2009 12:10 am
by Jan
Hello,

Please contact us if you need any help.

Thank you.

Invoke Find-feature programmatically

Posted: Fri Oct 30, 2009 5:22 am
by williams
Good time of the day.
I have a problem with Stimulsoft Viewer: when I add element viewer1:StiViewerControl to my form I have such error:

Error 7 A value of type 'StiViewerControl' cannot be added to a collection or dictionary of type 'UIElementCollection

How can I fix it?

Invoke Find-feature programmatically

Posted: Sun Nov 01, 2009 4:38 am
by Jan
Hello,

Unfortunatelly you can't add StiViewerControl to UIElementCollection from WPF windows, because StiWiewerControl is WinForms control. You can use StiWpfViewerControl from Reports.Wpf.

Thank you.