
Adam Marshall
Top achievements
Rank 1
Adam Marshall
asked on 04 Feb 2010, 09:52 PM
I have implemented a similar search/filter as the scenario found at http://demos.telerik.com/wpf/?GridView/Search , the same behaviour occurs in my own implementation and in the demo itself.
The search while you type works perfectly when a grid row is not selected, however if a row is selected, and a search is started, the row receives the focus.
This occurs only when a matching letter is found within the selected row. The textbox looses focus, which means only the first letter is searched on.
If a match isn't found, the focus remains in the search textbox and more letters can be added to the search.
On a side note, is there any way to ensure the search textbox has the focus when the filter is removed? Eg. When a user deletes his search, the grid immediatly takes focus from the textbox.
Thank you,
A Marshall
The search while you type works perfectly when a grid row is not selected, however if a row is selected, and a search is started, the row receives the focus.
This occurs only when a matching letter is found within the selected row. The textbox looses focus, which means only the first letter is searched on.
If a match isn't found, the focus remains in the search textbox and more letters can be added to the search.
On a side note, is there any way to ensure the search textbox has the focus when the filter is removed? Eg. When a user deletes his search, the grid immediatly takes focus from the textbox.
Thank you,
A Marshall
5 Answers, 1 is accepted
0
Hello Adam,
We have identified the problem with the grid gaining focus. We plan to fix this issue for the next latest internal build.
As for your side note you can subscribe to the TextChanged event of the TextBox and focus the TextBox via the dispatcher.
Best wishes,
Stefan Dobrev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
We have identified the problem with the grid gaining focus. We plan to fix this issue for the next latest internal build.
As for your side note you can subscribe to the TextChanged event of the TextBox and focus the TextBox via the dispatcher.
Best wishes,
Stefan Dobrev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0

David Cecil
Top achievements
Rank 1
answered on 12 Feb 2010, 09:15 PM
Hello,
We're having the same issue. Do you know when the fix will be available?
Kind regards,
David
We're having the same issue. Do you know when the fix will be available?
Kind regards,
David
0
Hello David Cecil,
The fix is available in our latest internal build version 2009.3.1412.
Kind regards,
Hristo
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.
The fix is available in our latest internal build version 2009.3.1412.
Kind regards,
Hristo
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.
0

David Cecil
Top achievements
Rank 1
answered on 15 Feb 2010, 08:25 PM
Hello,
We updated the dll to latest internal release and we're still experiencing the issue. Just to confirm the issue is the following:
1. Based on the search filter released in your examples we developed something very similar. As you type, the grid content is filtered.
2. If none of the rows in the grid are selected the filter works fine. However, if you select the a row and then type to filter the results, the focus is removed from the search/text box back to the grid.
I've tried to set a focus back into the text box, but this didn't work either.
Kind regards,
David
We updated the dll to latest internal release and we're still experiencing the issue. Just to confirm the issue is the following:
1. Based on the search filter released in your examples we developed something very similar. As you type, the grid content is filtered.
2. If none of the rows in the grid are selected the filter works fine. However, if you select the a row and then type to filter the results, the focus is removed from the search/text box back to the grid.
I've tried to set a focus back into the text box, but this didn't work either.
Kind regards,
David
0
Hello David,
Our local tests confirm that the focus issue is resolved with our latest internal build v 2009.3.1412 and we cannot reproduce the problematic behavior you describe. Please open a separate support ticket and attach a sample project that demonstrates the problem to test it locally and provide you with further assistance.
Best wishes,
Hristo
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.
Our local tests confirm that the focus issue is resolved with our latest internal build v 2009.3.1412 and we cannot reproduce the problematic behavior you describe. Please open a separate support ticket and attach a sample project that demonstrates the problem to test it locally and provide you with further assistance.
Best wishes,
Hristo
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.