Bug with GridFindReplaceDialogSink?

I have a GridControl and a column with lots of cells, one of these cells contains the string "BC01BF20" and another one contains the string "5511201".

When I use GridFindReplaceDialogSink to search for "20", I find "5511201", but not "BC01BF20".

I'm using Syncfusion 6.4.0.14 with Visual Studio 2005.


3 Replies

NA Nisha Arockiya A Syncfusion Team November 25, 2008 12:37 PM UTC


Hi Markus,

Thanks for your interest in Syncfusion Products.

I am afraid that i could not able to reproduce the issue un our sample.Please refer to it and let me know if i am doing anything wrong.

http://www.syncfusion.com/Support/user/uploads/gridFindDialog_ef28ef39.zip

Regards,
Nisha



MP Markus Persson November 25, 2008 05:21 PM UTC

You are doing a different, and better, solution then what I did. Here's what I did.

Dim frOptions As GridFindTextOptions = GridFindTextOptions.WholeTable
Dim frEventArgs As GridFindReplaceEventArgs = New GridFindReplaceEventArgs(InputBox("Find what:"), "", frOptions, Nothing)
fr.Find(frEventArgs)


With your solution on using a GridFindReplaceDialog, I don't get the problem either that I originally wrote about. I have updated Syncfusion aswell to .15 instead of .14


However!

I have been poking your code and if you remove gridDataBoundGrid1 and everything associated to it. And change the code in button1_Click to use gridcontrol1 instead of griddatabound and try a search with the button, it doesn't work at all. Why? Ctrl+F works like a charm thou..



NA Nisha Arockiya A Syncfusion Team November 27, 2008 12:12 PM UTC

Hi Markus,

Thanks for your updates.

Concerning your requirement I have modified the sample that uses GridFindReplaceDialogSink class for finding text in GridControl.Please refer to it.

Here is the sample.
http://websamples.syncfusion.com/samples/Grid.Windows/Development/GC_WF_GridFindReplaceDialog_77930.zip

Please let me know if this helps.

Regards,
Nisha


Loader.
Up arrow icon