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

[Solved] How to refresh without changing focus?

3 Answers 227 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Happy
Top achievements
Rank 1
Happy asked on 02 Mar 2010, 02:49 PM
Currently, I call Rebind(), but this moves the focus off my current editor control. How else can I get the grid to refresh it's contents without taking away the focus from the current control?

3 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 05 Mar 2010, 07:09 AM
Hello Happy,

If you want to preserve the editing you have to remember which is currently edited item and after the rebind you have to put it back into edit mode.

Kind regards,
Stefan Dobrev
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
Happy
Top achievements
Rank 1
answered on 05 Mar 2010, 12:26 PM
The editting is occurring outside the grid. I'm edittng text in a seperate textbox and I want to update the contents of a grid on the same form.

But for every character I type into textbox, when I tell the grid to rebind, it takes the focus away from my textbox and so I have to keep clicking back into the textbox for every character constantly restoring focus.
0
Stefan Dobrev
Telerik team
answered on 05 Mar 2010, 02:12 PM
Hi Happy,

We have fixed some focusing problems in one of our internal builds. Can you please download the latest internal build of RadControls for Silverlight and verify the state of this issue?

Sincerely yours,
Stefan Dobrev
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.
Tags
GridView
Asked by
Happy
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Happy
Top achievements
Rank 1
Share this question
or