These are the steps you need to go through:
- The field must be created as or converted to a TemplateField. The "Dynamics AX Bound Field Designer" helps you to that. Add the field to the "Selected Field" list, make it active and click "Convert to Template field"
- Switch to the Source view of the page.
- It seems like you have to add the label of the fields yourself. This is done by adding the following section to the XML of the TemplateField: HeaderText="<%$ AxLabel:@SYSxxxxx %>
- Finally add code to set the focus:
TextBox TextBox = (TextBox)this.AxGroup1.FindControl("TextBox1");
if (TextBox != null)