Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
I have a telerik:RadDataForm with an EditTemplate.
In that template I have a number of telerik:DataFormDataField's defined.
What I would like is to have the keyboard focus automatically set to one of these fields (not the first), when I do a BeginEdit().
How?
public
MainWindow()
{
InitializeComponent();
this
.DataForm.BeginningEdit += DataForm_BeginningEdit;
}
private
void
DataForm_BeginningEdit(
object
sender, System.ComponentModel.CancelEventArgs e)
var dataForm = sender
as
RadDataForm;
var fields = dataForm.ChildrenOfType<DataFormDataField>();
var field = fields.FirstOrDefault(x => x.Name ==
"Est"
);
var textBox = field.FindChildByType<TextBox>();
textBox.Focus();