Sean O'Dea
Top achievements
Rank 1
Sean O'Dea
asked on 09 Dec 2009, 07:15 PM
CellRequestBringIntoView says its obsolete. What is its replacement? I'm using it to automatically enter edit mode.
6 Answers, 1 is accepted
0
Hello Sean O'Dea,
Greetings,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Actually there is no replacement to this event. Can you provide me with more detailed information about your scenario? I'm sure that we will be able to solve the problem.
Greetings,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sean O'Dea
Top achievements
Rank 1
answered on 10 Dec 2009, 04:12 PM
I have several TextBox's above a RadGridView. In the RadGridView I have several columns that are not Focusable. When tabbing from the TextBox into the RadGridView I want the first editable cell to go into edit mode.
0
Hello Sean O'Dea,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can use RadGridView.CurrentCellChanged event to meet your goals, actually when GridViewCell become current it automatically scrolls into view.
Kind regards,Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sean O'Dea
Top achievements
Rank 1
answered on 14 Dec 2009, 10:12 PM
The cell becomes current but does not go immediately into edit mode. I want the first editable cell to go into edit mode when the RadGridView comes in focus.
0
Hello Sean O'Dea,
Greetings,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Please try the following code snippet and let me know how it works on your end.
void
radGridView_GotFocus(
object
sender, RoutedEventArgs e)
{
GridViewDataControl gridView = sender
as
GridViewDataControl;
if
(gridView !=
null
)
{
gridView.BeginEdit();
}
}
P.S. Of course you have to subscribe for the GotFocus event of RadGridView.
Greetings,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sean O'Dea
Top achievements
Rank 1
answered on 17 Dec 2009, 05:31 PM
That works. Thank you.